Responsive QR Code Component using Flexbox and rem units

Solution retrospective
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.
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.
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.
Please log in to post a comment
Log in with GitHubCommunity 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