@Hassiai
Posted
Replace <div class="card"> with the main tag, <div class="text-bold"> with <h1> and <div class="text-soft"> with <p> to fix the accessibility issues. click here for more on web-accessibility and semantic html
To center .card on the page using flexbox, replace the height in the body with min-height: 100vh.
Give .text a margin value for all the sides, text-align: center and a font-size of 15px which is 0.9375rem, this will be the font-size of both p and h1. Give p a margin-top or h1 a margin-bottom value for the space between the text.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@dav9go
Posted
@Hassiai Thank you very much for your feedback, Im fixing this!