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

html , css , flexbox

@FrancoAlderete33

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

@mariby21

Posted

Hello is great! To center it i can give you a clue. Clear body items and leave there only color and font-size them wrap all html elements from body with a div -> Example: .wraper { display: grid; width: 100%; height: 100vh; justify-content: center; align-items: center; place-items: center; }

Then clear imagen div and leave it with width 350px and border radius 20px and then only adjust all that you want to be fit and nice. Have a nice coding!

Marked as helpful

0

@FrancoAlderete33

Posted

@mariby21 Hi mario , I'm gonna check it . Thank you very much for taking the time to advise me.

1
Favour 2,160

@Nadine-Green

Posted

HEY FRANCO!

Your solution is close to perfection but I couldn't help but notice that the .container was not centered, a quick fix to this would be to give the body a heght:100vh and then give it a display: grid; and then place-items: center;, this will align the container bother vertical and horizontally.

IF YOU FOUND THIS ANYWAY HELPFUL, DON'T HESITATE TO MARK IT AS HELPFUL :)

HAPPY CODING!

Marked as helpful

0

@FrancoAlderete33

Posted

@Nadine-Green Hi Nadine , I'm going to try it that way. Thank you very much for taking the time to advise me.

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