@MelvinAguilar
Posted
Hello there π. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
- For star icons used decoratively, like in this challenge, it's best to keep the alt attribute empty. This prevents screen readers from repetitively reading the same description (15 times), which can be bothersome for users with visual impairments. So, you can simplify the code by leaving the alt attributes for the star icons empty
alt=""
.
-
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. π.
- Always avoid skipping heading levels; Starting with <h1> and working your way down the heading levels (<h2>, <h3>, etc.) helps ensure that your document has a clear and consistent hierarchy. Source π
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!
Marked as helpful
@Robert-Lukasz-Ksiazek
Posted
@MelvinAguilar thank you so much for your constructive feedback.