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
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

QR code component design with HTML and CSS

@Rabiaismail21

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,670

@Hassiai

Posted

In the html replace <div class="container"> with the main tag and the <h4></h4> with <h1></h1> To center a content on a page, replace height:100vh with min-height-100vh; Give the img a max-width value of 100% instead of giving it a height and width value. There is no need to give the body a width value of 100% and a height of 100vh in the media query. In the media query give the body a width 80% or 90%. this will be okay You did not upload the qr-image to the GitHub-repository. You did a good job. Hope am helpful. HAPPY CODING

Marked as helpful

1

@Rabiaismail21

Posted

@Hassiai thanks for correcting my code. Why the image is not displaying?

0
Hassia Issah 50,670

@Hassiai

Posted

@Rabiaismail21, you did not upload the image to the GitHub repository

1

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