QR code component using HTML and CSS

Solution retrospective
I’m proud that I was able to complete the challenge using only HTML and CSS and make the layout match the design as closely as possible. Next time, I would work on making the project more responsive across different screen sizes and add accessibility improvements like better alt text and semantic structure.
What challenges did you encounter, and how did you overcome them?One challenge I faced was centering the component both vertically and horizontally on the page. I overcame this by using Flexbox with justify-content and align-items properties. Another challenge was learning how to import and apply Google Fonts properly, which I resolved by reviewing Google Fonts documentation and adding the link in the <head>.
What specific areas of your project would you like help with?I would like feedback on:
My use of Flexbox, is there a more efficient way to center the component?
Best practices for structuring small projects like this (file organization, naming conventions).
How I can make this design more responsive without adding unnecessary complexity.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Sarah Williams'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