@Hassiai
Posted
wrap <div class="attribution"> within the footer tag to fix the accessibility issue.
To center .card 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.
To center .card on the page using flexbox:
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
To center .card on the page using grid:
body{
min-height: 100vh;
display: grid;
place-items: center;
}
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@saykate
Posted
@Hassiai thank you so much for the response! I have actually tried to include the grid version you recommended, and for some reason it didn’t help with this one, which is when I added padding to the main element. I’ll keep playing with that, and I’ll try the flex version too. I appreciate the help!!