Hello Please help me. I passed all the tests besides 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 the id and contains the corresponding .
Please help me. Thank you.
It is because you have added the
nav-link class to all the headers in the sections and the
nav, don’t do that. After you have removed the class from the elements that should not have it, you will get a new failing test, see if you can figure out what is wrong (hint
You should also run the HTML through a validator and fix the errors.
Thank you so much @lasjorg. #celebrating