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 using flex-box

@VOIDCODES-404

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


What are you most proud of, and what would you do differently next time?

I am happy that I was able to use the flex-box principle to carefully arrange and position the elements accurately, next time I would like to use grid to get the same result.

What challenges did you encounter, and how did you overcome them?

Centering a div is common problem but for this project I was able to center the div using the flex-box principle

Community feedback

P
Lilla 70

@lillakm

Posted

Hi! I'm also a newbie and had similar problems with centering. I received great feedback on it: you can use

display: grid;
place-items: center;
min-height: 100vh; 

as well. Congrats on completing the challenge!!

Marked as helpful

0
P
Danny Seo 40

@kisu-seo

Posted

Great job!

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