Melvin Aguilar π§π»βπ»β’ 61,140
@MelvinAguilar
Posted
Hello there π. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML π:
- You should use only one
<h1>
tag per page. The<h1>
tag is the most important heading tag, This can confuse screen reader users and search engines. This challenge requires thatSedans
,SUVs
andLuxury
are headings, but you can use the<h2>
tag instead of the<h1>
tag. You can read more about this here π.
- You should use the
<a>
tag instead of the<input type="button">
tag because theLearn More
button is a link to another page. Use buttons to perform actions like submitting a form or closing a modal and use links to navigate to another page. You can read more about this here π.
I hope you find it useful! π
Happy coding!
Marked as helpful
0
Imran Khanβ’ 370
@astr0n0mer
Posted
Hey @MelvinAguilar, thanks for your feedback
- I will update the headings used in the markup
- Thanks for pointing out the distinction in use cases for
<a>
tag and<input type="button">
element
0