
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.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Zugim's solution.
Join 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