# Error with nav-link -Technical Documentation Page - - Please HELP

**URL:** <https://forum.freecodecamp.org/t/error-with-nav-link-technical-documentation-page-please-help/271998>\
**Category:** General\
**Created:** [April 17, 2019, 9:05am UTC](https://forum.freecodecamp.org/t/error-with-nav-link-technical-documentation-page-please-help/271998 "2019-04-17T09:05:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JH1408](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jh1408/32/103461_2.png) [@JH1408](https://forum.freecodecamp.org/u/JH1408)\
**Post date:** [April 17, 2019, 9:05am UTC](https://forum.freecodecamp.org/t/error-with-nav-link-technical-documentation-page-please-help/271998/1 "2019-04-17T09:05:13Z")

</div>

Hey everyone!  
I’m giving it another try…  
I’m getting the following error: “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 section element that has that id and contains the corresponding header.”  
I’ve checked my code and I can’t seem to find the mistake ☹  
[https://codepen.io/anon/pen/GLmZXZ](https://codepen.io/anon/pen/GLmZXZ)  
Hope someone can help this time!  
Thanks,  
Josy

---

<div class="post-metadata">

**Author:** ![biscuitmanz](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/biscuitmanz/32/188814_2.png) [@biscuitmanz](https://forum.freecodecamp.org/u/biscuitmanz)\
**Post date:** [April 17, 2019, 12:44pm UTC](https://forum.freecodecamp.org/t/error-with-nav-link-technical-documentation-page-please-help/271998/2 "2019-04-17T12:44:23Z")

</div>

2 mistakes mate, first is your nav-link too to #Javascript\_and\_java should be #JavaScript\_and\_Java you forgot the camelCase.  
also your nav-link to Variables is going to #Global\_Variables instead of #Variables  
hope that fixes your problem 🙂

---

<div class="post-metadata">

**Author:** ![JH1408](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jh1408/32/103461_2.png) [@JH1408](https://forum.freecodecamp.org/u/JH1408)\
**Post date:** [April 17, 2019, 1:10pm UTC](https://forum.freecodecamp.org/t/error-with-nav-link-technical-documentation-page-please-help/271998/3 "2019-04-17T13:10:51Z")

</div>

Thank you so much!  
This is already the second time that I asked this question and now it’s finally solved. What a stupid mistake though… ☹

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:03pm UTC](https://forum.freecodecamp.org/t/error-with-nav-link-technical-documentation-page-please-help/271998/4 "2021-01-17T20:03:00Z")

</div>

Closed on January 17, 2021, 8:03pm UTC


