@Hassiai
Posted
Add the alt attribute alt=" "
to the img tag to fix the error issue. The value for the alt is the description of the image.
For the left side and left side of the page, give.container a max-width of 1440px, a width of 80% and margin: 0 auto. There is no need to give the body display flex to center the content on the page.
container{
max-width:1440px;
width: 80%;
margin: 0 auto;
}
For a responsive image give the img a max-width of 100%. There is no need to give the body a width and height value of 100% in the media query because that is the default value.
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