Warning: Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools)

Warning: Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools)
0

#1

“Warning: Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).”

How to fix as warning displayed? And what the reason behind this one?

Thanks.


#2

Hey @bestdesign , Whenever you need help with any of the Freecodecamp challenges, use the “Ask For Help” button on your challenge page. It gives the link to the challenge as well as posts the code properly here on forum.


#3

Is fine but still what is logic behind this message? :smiley:

Thanks.


#4

Without the context of what code you have written, it is difficult to say exactly, but I assume you have used h1 several times in the same section of your document and a test is complaining about it. Just post all of your code and the challenge url so we can actually answer your question properly. You have been using the forum long enough to understand context is important when answering questions here.