Melvin Aguilar π§π»βπ»β’ 61,220
@MelvinAguilar
Posted
Hi @Lorgensky π, good job completing this challenge,! π
I have some suggestions you might consider to improve your code:
- The
<h1>
element is the main heading on a web page. There should only be one<h1>
tag per page. The HTML Section Heading elements (Reference). This case requires thatSUVS
,SEDANS
, andLUXURY
be<h2>
elements.
- The
Learn More
elements should beanchor
tags and not buttons because they redirect to another part of the page.
- Not all images should have alt text. 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 src="./images/icon-sedans.svg" alt aria-hidden="true">
<img src="./images/icon-suvs.svg" alt aria-hidden="true" >
<img src="./images/icon-luxury.svg" alt aria-hidden="true" >
I hope those tips will help you! π
Good job, and happy coding! π
0