Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
The fact that this felt easy to do. Practice it's making me better by the minute, and that feels awesome
What challenges did you encounter, and how did you overcome them?None
What specific areas of your project would you like help with?None
Community feedback
- Account deleted
Like you said, you did great, though there are always things to improve. You used
px
, but you could also consider using other units likeem
so user preferences could have an effect on your site.To convert from
px
toem
:- 1em is typically equivalent to 16px (assuming the default font size).
- To convert pixels to ems, divide the pixel value by 16 (px / 16 = em).
For example, 24px would convert to 24 / 16 = 1.5em. This approach makes your design more adaptable to user settings.
You don't have to use
em
, but it's a good idea to consider this method and keep it in mind for future use.Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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