@Hassiai
Posted
Replace <div class="card"> with the main tag to fix the accessibility issue. click here for more on web-accessibility and semantic html
To center .card on the page using flexbox, add min-height: 100vh to the body.
Give h1 and p the same font-size of 15px which is 0.9375rem, text-align: center, the same margin-left, margin-right and margin-top values. Give p a margin bottom value.
For a responsive content replace the width in .card and img with max-width
.
Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@Sir-Floppa
Posted
@Hassiai Thank u! I added those sugestions to the code πwhat i dont get tho, is why should I make h1 and p the same font-size π€h1 is clearly bigger in the desing.