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

Zahirul 150

@ZahirulIslamTanvir

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

@Hassiai

Posted

To center .qrcode on the page using grid add min-height:100vh to the body.

For a responsive content, replace the width in .qrcode with max-width. give the img a max-width of 100% and a border-radius value., there is no need to style .qrcode__image.

Give h1 and p the same font-size of 15px which is 0.9375rem and the same margin-left, margin-right and margin-top values. Give p opacity:0.5 for the faded color..

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

1

Zahirul 150

@ZahirulIslamTanvir

Posted

@Hassiai Thanks a lot for your review. I am changing the code :).

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