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
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
Dean 480

@Deanogit

Posted

Hello @AlvaroCordoba-5

Great effort putting together this solution

I was taking a look at your code and thought you might be interested,

In order to center the card in the browser, try applying these declarations to your body selector in your CSS file

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

Its possible to change the background-color to 'hsl(212, 45%, 89%)' too, in order to better match the design.

I hope this helps,

Above all, your solution looks great!

1

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