Design comparison
SolutionDesign
Solution retrospective
Mi segundo reto completado :)
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing your second challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
Alt text 📷:
- The
alt
attribute should not contain underscores or hyphens, it must be human readable and understandable.
- The
alt
attribute should not contain the words "image", "photo", or "picture", because the image tag already conveys that information.
- Not all images should have
alt
text. The<img src="images/icon-view.svg" class="card__icon">
is a decorative image, it does not add any information to the page. You should use an emptyalt
attribute instead of a descriptive one. You can read more about this here 📘.
- Eg:
<img src="images/icon-view.svg" alt="" class="card__icon">
- If you want to learn more about the alt attribute, you can read this article 📘.
I hope you find it helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful0
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