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

@JoseEliasMorales

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

To center a content on a page, add min-height:100vh; display: flex; align-items-center: justify-content: center; to the body. There is no need to give .card a margin value to center it.

Give .card a width of 90% a max-width of 400px instead of with:275px; and a max-width of 90%. Hope am helpful.

Well done for completing this challenge, you did a good job. Happy coding

Marked as helpful

0

@JoseEliasMorales

Posted

@Hassiai Thank you very much! I took the tip and already applied it. I will use it from now on.

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