Design comparison
SolutionDesign
Community feedback
- @AntonvasilachePosted 4 months ago
Hi,
Good effort on building the component. Consider a few adjustments for making your content fit into the container at different screen sizes:
#container{ width: 100%; max-width: 24rem;
Lower the margin-bottom from 3 to 2rem on the individual elements.
For semantic HTML purposes, you can also turn the
<div id='container'>
into a<main>
element, and replace the h2 with an h1.Hope this helps.
Good luck!
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