
Responsive QR Code Component Using Flexbox and Semantic HTML
Design comparison
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.
Community feedback
- P@oryanhachPosted about 2 months ago
I am still a beginner, so not on a level to really give feedback, but I would recommend working on the overall size of the component, and making it much smaller. While i was working on the challenge I used ChatGPT as a personal teacher, while asking him questions like: how can i make this element smaller, or lower it. And the most important thing when asking chatgpt for advice, is not just copy the code solutions, but actually understanding it and learning from it. Good luck! :)
0
Please log in to post a comment
Log in with GitHubJoin 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