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

Not Responsive

@MarvellousObiwulu

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

P

@rinster

Posted

Hi! Great job on completing this! You're almost there :) A great way to make this responsive is to remove all of the margins on your qr-text class and use Flexbox.

You'll want to add flex properties to the parent container of your qr-text class. In your case the body like so:

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

This should keep your card nice and centered.
0

@MarvellousObiwulu

Posted

thanks so much. I did it.@rinster

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