Hassia Issah• 50,690
@Hassiai
Posted
Replace <div class="container"> with the main tag and <h2> with <h1></h1> to fix the accessibility issues. To center a content on a page, add min-height:100vh; display: flex; align-items-center: justify-content: center; to the body. instead of giving . container margin: 0 auto;
There is no need to give .container display: flex; and text-align: center.
Give .text a padding value for all the sides.
Hope am helpful HAPPY CODING
0