QR code component with HTML and CSS

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