Build a Technical Documentation Page Help

Tell us what’s happening:

Not too sure why I am not able to pass the test. All requirements are there. What am I missing?

Your code so far

Your browser information:
10. Additionally, the navbar should contain link () elements with the class of “nav-link”. There should be one for every element with the class “main-section”.
12. Each element with the class of “nav-link” should contain text that corresponds to the text within each (e.g. if you have a “Hello world” section/header, your navbar should have an element which contains the text “Hello world”).
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 .

Link to the challenge:

You have a main-section class item with an ID of Reference that is not in the navbar.
add another item to the navbar that goes to the Reference section and that should fix it.

1 Like