@Hassiai
Posted
Replace<section>with the main tag and <div class="attribution"> with the footer tag to make the page accessible. click here for more on web-accessibility and semantic html
For a responsive content, replace the width in .box with max-width
.
Change the background-size of the body to contain. In the media query you have to change the background-image of the body.
To center .box on the body using flexbox or grid instead of position: absolute, - USING FLEXBOX: add min-height:100vh; display: flex; align-items: center: justify-content: center; to the body
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
- USING GRID: add min-height:100vh; display: grid place-items: center to the body
body{
min-height: 100vh;
display: grid;
place-items: center;
}
Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
You forgot to .btn a box-shadow value.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING