@Hassiai
Posted
wrap your html content in the main tag<main> and <h3> with <h1> to fix the accessibility issues. click here for more on web-accessibility and semantic html
To center a content on a 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.
sample: To center .container on the page using flexbox:
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
sample: To center .container on the page using grid:
body{
min-height: 100vh;
display: grid;
place-items: center;
}
For the color of the image, add a background-color of soft violet, background-blend-mode: multiply and opacity:0.8 to .pic-div. there is no need for background position.
.pic-div{
background-image: url();
background-size: cover;
background-color: hsl()
background-blend-mode: multiply;
opacity: 0.8;
}
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
``
Marked as helpful
@BobbyOffiong
Posted
@Hassiai thank you!