
Solution retrospective
I am a student, I learning web development
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ecemgo
Some recommendations regarding your code that could be of interest to you.
HTML
In order to fix the accessibility issues:
- I couldn't view your GitHub repository, you've typed the home page of GitHub. Anyway, I'll try to give some recommendations.
- You need to replace
<div class="container">
with the<main class="container">
tag. You'd better use Semantic HTML, and you can also reach more information about it from Using Semantic HTML Tags Correctly. - Each main content needs to start with an h1 element. Your accessibility report states page should contain a level-one heading. So, you should use one
<h1>
element in the<main>
tag.
CSS
- If you want, you can use the recommended color for the background but it's up to you whether you use or not :
body { background-color: hsl(212, 45%, 89%); }
Hope I am helpful. :)
Marked as helpful - @savvystrider
Looks awesome! The main text is a bit hard to read against the background (not enough contrast), so I'd recommend using a darker color to make it stand out.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord