Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Liliana Leyva3,711 Points
Why do I get this warning when trying to validate html? I do not know how to add the code.
Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections. From line 28, column 5; to line 28, column 13 per">↩ <section>↩
Liam English3,837 Points
It would appear that <section> requires a heading element, as per best practices.
<section> <h2>Hello</h2> </section>
The <h2> that I have used above could also be an h3, h4, h5 or h6, as recommended.