Design comparison
Solution retrospective
I applied my previous knowledge of laying things out and managing customizable settings with custom properties. Keeping the final UI pixel-perfect and almost exactly the same as the design is always a new learning experience.
What challenges did you encounter, and how did you overcome them?I avoided using arbitrary magic numbers to adjust spacing and sizing. Instead, I opted for generally used values and utilized the leading to address certain spacing issues effectively.
I opted for the Inter variable font instead of its static variants. This kept the CSS code concise, requiring only one @font-face
block to include the variable font.
I noticed the recommended font size of 14px wasn't necessary to achieve the desired UI. The standard 16px base font size worked well, and the basic copy inherited it seamlessly. Can you please throw some light on that or share a layout done with 14px font-size?
Community feedback
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