Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 10 months ago

Responsive QR Code Component Using Flexbox and Semantic HTML

Almeida•10
@RamadhanAdam
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

I was able to use flexbox to create a responsive website. I also made sure to use semantic HTML, which improved accessibility. Next time, I’d experiment with CSS Grid to explore more complex layout possibilities, and possibly add some CSS animations for a more interactive experience.

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

One of the challenges I faced was ensuring the layout worked well on both mobile and desktop views. The mobile-first approach I used helped to address this by focusing on smaller screens first, and then scaling up for larger screens. Another challenge was ensuring the text around the QR code was legible on all screen sizes, which I solved by using relative units (like rems and ems) for font sizes and spacing.

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

I'd like help with responsiveness and also a feedback on my use of Flexbox for the layout—specifically if there are any ways to make it more flexible or cleaner. Also, I’m open to suggestions on improving accessibility, particularly for users with disabilities, and how to implement best practices in this area.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Almeida's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License