P
Anton Vasilache• 580
@Antonvasilache
Posted
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