Responsive QR scanner page

Solution retrospective
trying to figure out the color without checking the stylesheet lol
Please log in to post a comment
Log in with GitHubCommunity feedback
- @vanzasetia
Hi, Etinhandy! 👋
Congratulations on completing your first Frontend Mentor challenge! 🎉
That's an interesting approach to figuring out the color code by yourself. Also, do you mean the
style-guide.md
instead of the stylesheet (CSS file)? All the color code is provided in thestyle-guide.md
.Some suggestions.
- The alternative text for the QR code should not contain the word "image". The semantic meaning of the
img
element will make the screenreaders pronounce it as an image. - I recommend improving the alternative text to "QR code to frontendmentor.io" to give the users more information about the QR code.
- I recommend adding
width
andheight
attributes to each image element. This way, the browser knows how much space the image requires before it can be fully loaded. As a result, it would optimize CLS (Cumulative Layout Shift).
Hope this helps. 🙂
Marked as helpful - The alternative text for the QR code should not contain the word "image". The semantic meaning of the
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