@Hassiai
Posted
Replace<div class="card">with the main tag,<h2> with <h1> and <div class="attribution"> with the footer tag to fix the accessibility issues. click here for more on web-accessibility and semantic html
To center .card on the page using grid, add min-height:100vh; and place -items: center to the body and remove grid-template-rows and grid-template-columns, these are not needed.
For a responsive content, replace the height of .card with a padding value for all the the sides. give the img a max-width of 100% instead of a width value and border-radius value. Give p and h1 the same padding left and right values and the same margin-top value. Give p a margin-bottom value.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@eaakre
Posted
@Hassiai Thanks for the input! Made some changes on my repository because of your comments!