@Hassiai
Posted
To center a content on a page, add min-height:100vh; display:flex; align-items-center: justify-content: center; to the body. There is no need to give main a margin value.
Use rem or em as unit for the padding , margin,width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful.
Well done for completing this challenge, you did a good job. Happy Coding
Marked as helpful
@lwrncgmbn
Posted
@Hassiai Thanks for the information, I really need that <3