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

Responsive QR Code Component using Flexbox and rem units

jayl-ch•90
@jayl-ch
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'm proud that I completed my first Frontend Mentor challenge and got more comfortable working with HTML and CSS. Even though the challenge provided some starting assets, I was able to build the layout on my own, apply styling using Flexbox, and make the design look clean and centered.

It also helped me understand how using rem units and responsive sizing like min() can make layouts more adaptable.

What I'd do differently next time

Next time, I would:

  • Focus more on responsiveness, especially on very small or large screens.
  • Separate my CSS into an external file to keep the HTML cleaner.
  • Try using media queries for better scaling.
  • Explore different layout techniques like CSS Grid.
What challenges did you encounter, and how did you overcome them?

One of the main challenges I faced was aligning the text properly inside the QR card. It took me some time to understand how to center the text and space everything out nicely.

I didn’t encounter any major technical bugs, but getting the layout to look right still required some patience. I used trial and error to tweak the CSS until things looked balanced and aligned.

I also learned how to use Google Fonts and how to create a basic Markdown file (README.md) for the first time, which are both important skills when working on real-world web projects.

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 jayl-ch'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