Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I am proud of having managed to use the root property in CSS, something I hadn't applied in the previous challenge provided by the platform. With each new challenge, I am trying to implement something new.
What challenges did you encounter, and how did you overcome them?I didn't encounter any difficulties; it was quite easy to complete this challenge.
What specific areas of your project would you like help with?Is the code consistent with best practices in both HTML and CSS? And is the use of the :root property in CSS correct?
Community feedback
- @MikDra1Posted 3 months ago
Limited Browser Support for :root Variables:
- The :root variables might not work correctly in older browsers. Providing fallbacks could improve compatibility. Here is a quick VIDEO about how you can create a fallback to the variable
Font Sizing and Scaling:
- If the font size is defined in pixels (px), it could create scaling issues on different devices. Using em or rem would be more flexible. And here is how we use rems:
html { font-size: 62.5% // It means that 1rem = 10px. From this it is easier to use rem } p { font-size: 1.6rem; // Here this paragraph font-size will be 16px; }
If you don't understand it already here is a VIDEO
Hope you found this comment helpful 💗
Good job and keep going 😁😊😉
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