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

My solution for the QR code component challenge

Dan 220

@DanRHatfield

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 is the best way to determine the height of the container? Currently, I'm doing guess and check, but figure there must be something more dynamic for it.

Let me know.

Thanks!

Community feedback

Account Deleted

I use height: 100vh or min-height: 100vh which means 100% of viewport height. You can then use display: flex, justify-content: center and align-items: center to position the card in the middle of the page.

Marked as helpful

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