Design comparison
Solution retrospective
I was pleased that I was able to implement fonts responsively using rem
units and media queries. When the viewport's width is less than 300px the font size for the component will decrease slightly. While not really necessary for this particular project it will hopefully come in handy for future projects.
I encountered some weirdness when styling my header, which is a link nested inside a h2 element. I was originally trying to style the h2 element but the font wasn't displaying as expected. I did some research and discovered I should instead style the nested element.
What specific areas of your project would you like help with?I was wondering if people usually use rem
/em
units project wide or is it primarily for fonts? I was thinking they could also be useful for padding and margins.
Community feedback
- @ItsZubekPosted 26 days ago
Good use of semantic HTML and CSS variables. Layout looks good. Solution is improved upon from the original design by adding 2 extra fields to the category section. Good use of css grid property.
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