
Solution retrospective
Any input on my solution would be greatly appreciated.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Deolabest
Hey @stwslim83, Congratulations on completing this challenge!
Here is my feedback:
- Don't use px to set font-size. Instead use rem units, they are great since they adapt better to the font-size the user will set in the browser settings.
Keep doing a good job!
Marked as helpful - @AhmedLebda
Hi @stwslim83, congrats on completing this one
- You can use
<main>
instead of<div>
to improve the accessibility of your page. - Adding
max-width: 1440px
andmin-width: 375px
to the body element won't make the content centered properly in screens larger than 1440px or lower than 375px , you can remove those styles and replace it with amargin: 20px
for the wrapper div to avoid card touching screen edges in smaller screens
Marked as helpful - You can use
- @Deolabest
I forgot to add this:
- Use <main> instead of a simple <div> to improve the semantics and accessibility on the page. Remember that every page should have a <main> block and that <div> doesn't have any semantic meaning.
Marked as helpful
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