I have an error in my visual studio code and i cant seem to figure out how to fix it

Hi, I’m making a self-help-themed website as a project and I can’t figure out how to fix this issue in my journal entry.html.


Can someone please tell me how to fix this error? I even put it all on the same line as it works in a completely new folder so I don’t see why its not working in here.

Either:

  1. Add a heading (h1, …, h6) tag to your section element.
  2. Replace your section element with a div element.
  3. Ignore the warning. The message you’re seeing is a non-normative usage recommendation, as per the HTML5 spec (highlighting mine):

The theme of each section should be identified, typically by including a heading (h1-h6 element) as a child of the section element.

2 Likes

Hi! i did this and it worked! My teacher doesn’t want us to have any errors popping up within visual studio code which is why it was a pressing issue. thank you for your help!

1 Like