Design comparison
Community feedback
- @fastcheetahPosted 3 months ago
Congratulations on completing your project, it looks very close to the design ๐ I want to bring up the fact you should not use standard values for font sizes when coding webpages. REM allows you to scale the size of elements up or down easily by adjusting the root font size which you cant achieve with measurements like pixels. Unlike pixels, REMs are relative to the font size of the root element. This means that if the font size of the root element changes, all REM units throughout the document will adjust accordingly. If you want to get Rem you can divide your pixel value by 16 which is the standard font ๐ Once again nice work on your project๐
Marked as helpful1@BorysPresnPosted 3 months ago@fastcheetah Hi! Thanks for the feedback! I completely agree that using pixels is a bad solution, I thought about rem/em, but for some reason did not use, probably because of the no actual need for adaptive, because the size of the card is small and the size does not change with a screen width of 320 pixels.
Thanks for reminding me how to calculate the REM, I had forgotten how to do it :) Hope to see more of your feedback on my projects in the future0
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