Design comparison
Solution retrospective
I finished pretty quick the component. Next time I would work a bit on padding to get text align exact liek in the example.
What challenges did you encounter, and how did you overcome them?The most challenging was to center the QR Code Card in the middle of the view port.
Community feedback
- @Sara-414Posted about 1 month ago
Great job! Very nicely centered and works on a range of screens. As you already know, just a few sizing tweaks are needed to match the design.
The code could benefit from more semantic HTML elements (such as <main>, <section>, and <footer> instead of generic <div> tags). Here's a quick article on why more specific tags are helpful/necessary: https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML
To improve accessibility, consider adding alt text to the QR code image. Keep up the good work!
Marked as helpful1
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