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

@RahulRSoni

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


When I wrote the code for the QR code component, I stuck only one place when I centered all the components in the middle of the page.

I am unsure about the responsiveness. I wrote the code too, but I am not sure if it is right or not.

what is a good approach to writing the code?

Community feedback

Aravindhan 320

@aravindhan7

Posted

to centere at the middle of the page

use the below css

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

hope this is useful for you..

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