QR Code component using CSS Flexbox and Variables
Design comparison
Solution retrospective
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
- @SwanpyaethewalkerPosted 6 months ago
It includes semantic HTML and code is well structured and readable and also resuable
0 - @rvupmo33Posted 6 months ago
Looks really good! If you don't mind me asking, how did you figure out the text spacing?
0@iddahadevPosted 6 months ago@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@rvupmo33Posted 6 months ago@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-muhammadPosted 6 months ago
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 GitHubJoin 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