Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

QR code component with HTML and CSS

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

Solution retrospective


👋🏻 Hey. This is my solution for the QR Code component. Appreciate any feedback.

Difficulties:

  • Positioning/aligning elements in general. But when I researched and learned about flexbox, I decided to apply to the solution and it got easier.

  • I was unsure about the best practices on making the solution suitable for smaller screens. I added a very simple media query to make the barcode image smaller in screens < 700px, but probably there are other UX aspects that I didn't consider

Conclusion: As a newbie in frontend development I think my solution is not ideal, but it was good to practice. Tried my best to follow BEM as a best practice.

Code
Couldn’t fetch repository

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Andre'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
Frontend Mentor logo

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

Frontend Mentor

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

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub