Technical Documentation Header

Hello, just a quick question. I can pass the FCC script but I fail the HTML Validation because it says that I need to include an h2-h6 under my section. But FCC says to include the title in the header tag under the description. What do I do to fix this and make the code pass HTML validation and the FCC script?

HTML Validation: https://validator.w3.org/nu/#textarea

My Code: https://codepen.io/drdre5/full/OJyEyYw

Thanks so much,

Andrej

What you can try to do is nest a <h1> - <h6> tags inside the header and it will pass both FCC and W3C Validator.

Just FYI. It’s a warning, not an error. The code is valid, it’s not failing validation. Consider warnings more like a recommendation.

But as said, you can add headings inside the header elements.

2 Likes