Design comparison
SolutionDesign
Community feedback
- @FraCav99Posted 5 months ago
Hi Rafael, good work on this! :)
Your code looks clean and organized, just one thing, don't use px units for margins, padding and font-size.
For padding and margins are better ems unit, since the adapt better if the text shrinks or grow.
For font-size, use rems, since they adapt better if the user takes the time to change font size from browser settings. If you keep using pxs for font size, they won't adapt to the user preferences.
0
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