@Hassiai
Posted
Replace <section class="card"> with the main tag and <h2> with <h1> to fix the accessibility issues. click here for more on web-accessibility and semantic html
To center .card on the page using flexbox, replace the height in the body with min-height: 100vh.
For a responsive content, replace the width in .card with max-width
, there is no need for the height in .card and increase its padding value. padding:16px
Give the img a max-width of 100% for a responsive image and a border-radius value, the rest are not needed.
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