@Hassiai
Posted
To center the main on the page using flexbox, replace the height in the body with min-height: 100vh.
Give the main a fixed max-width value and the img a max-width of 100% for a responsive content. max-width: 320px.
Give h1 and p the same font-size of 15px which is 0.9375rem/em and the same margin-left, margin-right and margin-top values. Give p a margin bottom 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
Marked as helpful