Technical documentation help

Technical documentation page
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 can’t solve this one despite the links successfully linking to the id? why might this be?

https://codepen.io/hawkish/pen/LwGeZx

It looks like some of the links work, and some don’t. If you click on section 1, it will navigate to section 1. If you click on section 3, you get an error. Go look at your code for those two sections and see what is different about them.

Thanks a lot friend, that did it
time to move on to the last project :slight_smile:

No problem, glad I could help. Feel free to post any more questions that you have or problems that you run into.