Responsive QR Code Component Using Flexbox and Semantic HTML

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