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 CSS Flexbox and Variables

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?

The key here was to take my time and not rush things. It helped me think about what the markup should be before thinking about styling. So it keeps the markup clean!

Next time, I will try to write down on paper the markup and what is the flow of content.

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

The challenge was to get the sizing right to match the mockup ! I used a calculator and tried my best to guess how much the margins and paddings were.

What specific areas of your project would you like help with?

Any help here is welcomed ! Sementic, css classes, display techniques, accessibility...

Community feedback

@Swanpyaethewalker

Posted

It includes semantic HTML and code is well structured and readable and also resuable

0
AB 60

@rvupmo33

Posted

Looks really good! If you don't mind me asking, how did you figure out the text spacing?

0

P

@iddahadev

Posted

@rvupmo33 Thanks !

I used the Figma file, if you check the text specs you can see the line-height, letter-spacing and font informations.

But to be honest, there is a difference with the design, the value is not accurate. If you zoom in, you'll see a slight difference

1
AB 60

@rvupmo33

Posted

@iddahadev Thank you!

I'll definitely take some time to look into the text specs. I really appreciate the tip :)

I saw the slight difference as well, however, it's much better than my height estimate 🤣.

0

@zikri-muhammad

Posted

Does the solution include semantic HTML? yes Is it accessible, and what improvements could be made? yes Does the layout look good on a range of screen sizes? yes Is the code well-structured, readable, and reusable? yes Does the solution differ considerably from the design? yes

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