@Hassiai
Posted
Replace <div class="card"> with the main tag, add the alt attribute alt=" "
to the img tag and replace <p class="title"> with <h1> to fix the accessibility issue. click here for more on web-accessibility
and semantic html
To center the .card on the page using flexbox, replace the height with min-height:100vh. there is no need to give the body a width value.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@HelloImAron
Posted
@Hassiai Thank you for the suggestions! I didn't do alt text for this since it's just a challange, not actual work (I'm not at the level to get any work in the field of frontend), but if it was, I'd definitely do alt texts and pay more attention to SEO and accessibility. And thanks for the tip :D