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

Accesible QR-Code Component

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


Kindly review and feedback. Thanks.

Community feedback

@lavil014

Posted

Congrats completing this challenge .

I found the following AOO that may be helpful for you in the future when centering a container.

.mainCard{ margin: 3rem auto; width: 230px; border-radius: 10px; background-color:var(--White); }

Instead of using margin you can allocate the main card container from the parent container which is the body element .

Here an example using display flex :

body { display : flex ; align-items: center; justify-content: center; }

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