Design comparison
Community feedback
- @FreivysDevPosted about 2 years ago
Hi @MelvinAguilar, thanks for your suggestions. I am going to document more about the accessibility part to give the best user experience. Likewise, I'm going to apply the changes to the code. I keep learning new things. Thanks.
1 - @MelvinAguilarPosted about 2 years ago
Hi @freivys ๐, good job on completing this challenge! ๐
I like this solution for the challenge. I have some suggestions you might consider to improve your code:
-
The
Learn More
elements should beanchor
tags and not buttons because they redirect to another part of the page. -
Car icons are for decoration purposes only, so they can be hidden from screen-readers by adding
aria-hidden="true"
and leaving its alt attribute empty:
<img class="card__icon" src="./images/icon-sedans.svg" alt aria-hidden="true"> <img class="card__icon" src="./images/icon-suvs.svg" alt aria-hidden="true" > <img class="card__icon" src="./images/icon-luxury.svg" alt aria-hidden="true" >
Good job, and happy coding! ๐
0 -
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