Problem with the Technical Documentation challenge

I have gone over my code multiple times and did the analyzer. I can’t see why it is throwing the error.

Error being thrown: 4. Each element with the class of “main-section” should also have an id that corresponds with the text of each contained within it. Any spaces should be replaced with underscores (e.g. The that contains the header “Javascript and Java” should have a corresponding id=“Javascript_and_Java”).

Try with adding the exclamation point to the #Hello_world section id, or remove it from the h2

Also the JavaScript and Java section, there is a capitalisation difference between the id and the text in the h2

Also, the things you have put in the head tag you should open the settings of the pen and add those infos there

Thanks for your suggestions. I made all of those changes and it is still throwing me the same error.

To me it passess but doesn’t pass this one:

  1. Each element with the class of “nav-link” should contain text that corresponds to the <header> text within each <section> (e.g. if you have a “Hello world” section/header, your navbar should have an element which contains the text “Hello world”).

You need to do the same changes there

Thank you so much! That was driving me crazy and it was such a small thing.