@Hassiai
Posted
Replace <div class="container"> with the main tag to fix the accessibility issues. 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.
To center .container on the page using flexbox instead of margin, add min-height:100vh; display: flex; align-items: center: justify-content: center; to the body.
USING FLEXBOX:
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
For the color of the image , give ,picture a background-color of soft violet and the img a width and height of 100%, object-fit: cover, mix-blend-mode: multiply and opacity: 0.8
.picture{
background-color: hsl();
}
img{
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
opacity: 0.8;
}
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@erenymo
Posted
@Hassiai Thank you dude :).