@Hassiai
Posted
Replace <h3> with <h1> to fix the accessibility issues.
To center .container on the page using flexbox, replace the height in the body with min-height: 100vh.
To center .container on the page using flexbox:
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
There is no need to style .image-container. give the img a max-width of 100% instead of a width and height value.
Give h1 the same font-size as p.
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
Marked as helpful
@Md-Alqma
Posted
@Hassiai Thank you so much for your feedback. Looking forward to becoming a good developer with help of developers like you...