Help required with User story 13 of Technical Documentation Page

13. When I click on a navbar element, the page should navigate to the corresponding section of the “main-doc” element (e.g. If I click on a “nav-link” element that contains the text “Hello world”, the page navigates to a element that has that id and contains the corresponding .

I don’t understand why this fails

My code till now

Hey! welcome to the freecodecamp community forums!

You misspelled #Javascript_and_Java in the section element’s id.
I would recommend you not to use id names this long because the more you have to type, the more errors you would have in your code.

Hope this helped! :grinning_face_with_smiling_eyes:

1 Like

Thanks! Yes I should do that :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.