@Hassiai
Posted
Replace <div class="wrapper"> with the main tag to make the content/page accessible. click here for more on web-accessibility and semantic html
Give the alt attribute in the img a value. The value of the alt attribute is the description of the image. For decorative images like icons, there is no need to give it an alt value, for more on alt attribute Click here.
There is no need to style .wrapper. Give the body a background-color of pale-blue, use the colors that were given in the styleguide.md found in the zip folder you downloaded, a background-image with a background-size of contain and a background-repeat of no-repeat.
body{
background-color: hsl(pale-blue);
background-image: url();
background-repeat: no-repeat;
background-size: contain;
}
To center .card on the page 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;
}
For a responsive content, replace the width in .card with max-width , increase its value for it to be equivalent to the design. max-width: 416px which is 26rem/em
This challenge requires a media query, in the media query you only have to change the background-image of the body. For more on media queries, click here
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 and here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@mark-pherz
Posted
Dear @Hassiai ! Your reply in extremely helpful! Thank you so much !