Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Your session has expired please log in again.
Your session has expired please log in again.
Not Found
Not Found
Not Found
Not Found

Submitted

Cool QR code

@Reduay

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

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

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord