Tell us what’s happening: Hey people this beyond driving me crazy…
This is the error i keep getting.
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>.
But the thing is when i click on the text (Nav Link) it does take me to the section… I made five and all five work. So i do not know what i am doing wrong… Can anyone help me as this is now holding me up and wasting my time.
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36.
Link to the challenge: