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

@pkindalov

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

@MaximilianoDanielGarcia

Posted

Hi Panayot, great job!

If you are wondering how to center it, you can use CSS Grid, just add this:

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

After that, remove margin prop from .qr-container and .qr-card classes. And that's it.

Marked as helpful

1

@pkindalov

Posted

@MaximilianoDanielGarcia Thank you very much, I really appreciate your advice. Thanks

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