@Hassiai
Posted
Replace <div class="card-container"> with the main tag,<h3 class="card-h3"> with <p> and <div class="attribution"> with the footer tag to fix the accessibility issues. for more on semantic html visit https://web.dev/learn/html/semantic-html/
To center .card-container on the page, add min-height:100vh; display: flex; align-items: center: justify-content: center; or min-height:100vh; display: grid place-items: center to the body. Instead of giving .card-container position: absolute and its properties.
reduce the max-width card-container to 400px/300px , it think this help.
in the media query give .card-container a max-width of 600px.
Hope am helpful HAPPY CODING
Marked as helpful