@Blackpachamame
Posted
Greetings! you have done a great job š
š Some accessibility and semantics recommendations for your HTML
- To improve the semantics of your HTML, you can change your
<div class="container">
to a<main class="container">
and the<div class="attribution">
to a<footer class="attribution">
- Should be
h1
instead ofh2
- Instead of using
margin
to center your content in the center of the screen, you can use theflexbox
properties in thebody
:
body {
margin: 0;
line-height: inherit;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 20px; /* Separate the main from the footer */
}
- The background color is not the same as the original design, nor the title of the card. You should check that, unless you changed it on your own
Marked as helpful
@mbalali63
Posted
@Blackpachamame Thank you for the valuable comments. I just tried fixed them all.