@Hassiai
Posted
Replace <div class="container"> with the main tag to make the content/page accessible. click here for more on web-accessibility and semantic html
To center .text-container on the page using grid, add min-height:100vh; display: grid place-items: center to .container. For centering using grid Click here
.container{
min-height: 100vh;
display: grid;
place-items: center;
}
For the color of the image, give the img a mix-blend-mode: multiply and opacity: 0.8. Give .img a fixed width value and img a width and height of 100% and object-fit: cover.
img{
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
opacity: 0.8;
}
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
Hope am helpful.
Well done for completing this challenge. HAPPY CODING