Simple QR Code Card - Tested to be responsive with over 40 devices.
Design comparison
Solution retrospective
Here is my solution to the QR code. It was nice to take on a simple project as it allowed me to focus more on simple and clean coding. I added a little box-shadow that wasn't in the original design purely to add some dimension to the flat design. Let me know what your thoughts are or any habits in my coding that may not be helping me write clear and clean code. Happy Coding! :)
Community feedback
- @MelvinAguilarPosted almost 2 years ago
Hi there ๐. Good job on completing the challenge ! I have some feedback for you if you want to improve your code.
It is a very organized code :)
HTML:
- Use the
<main>
tag to wrap all the main content of the page instead of the<div>
tag. With this semantic element you can improve the accessibility of your page.
- Use the
<footer>
tag to wrap the footer of the page instead of the<div class="attribution">
. The<footer>
element contains information about the author of the page, the copyright, and other legal information.
- The
alt
attribute should not contain the words "image", "photo", or "picture", because the image tag already conveys that information.
If you want to learn more about the
alt
attribute, you can read this article.I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful1@OpenWorldProjectOWPPosted almost 2 years ago@MelvinAguilar Wonderful feedback! I actually didn't think about that with the "alt" attribute so that is really useful. I'll make some changes! I can't believe I forgot to use <main>! That's exactly why I've been trying to work on semantics lately! Thank you so much Melvin. :)
1@OpenWorldProjectOWPPosted almost 2 years ago@MelvinAguilar Those changes have been pushed through! Thanks again!
1 - Use the
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