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

@aguilarjavier

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Got it working rather quickly.

What challenges did you encounter, and how did you overcome them?

Centering the components. Learned the css trick top: 50%; left: 50%; transform: translate(-50%, -50%);

Community feedback

@KapteynUniverse

Posted

Hey, nice job.

Using flex or grid for centering would be better.

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

Grid i guess like this

body {
    display: grid;
    place-items: center
    min-height: 100vh;
}
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