Technical documentation page

First time couldn’t find solution so I need to ask for a help:

  • Each .nav-link should have text that corresponds to the header text of its related section (e.g. if you have a “Hello world” section/header, your #navbar should have a .nav-link which has the text “Hello world”).

  • Each .nav-link should have an href attribute that links to its corresponding .main-section (e.g. If you click on a .nav-link element that contains the text “Hello world”, the page navigates to a section element with that id).
    My code

The links must use the ids of the sections preceded by a hash symbol. (That is how internal links work)


I have changed it now but still didn’t pass the test. Any other ideas what could be wrong?

My code

can you add a link to the challenge?

Is it still failing on the same exact errors?

What it is asking you is within the <section> create id="youridname" and within each

<a> that has the class of .navlink link it to the corresponding tag name in this example

youridname so it will look like this href="#youridname" and the <heading>

has to have the same name as your id if there is any _ in your id replace them with

spaces in the heading. Your link text in the navbar also has to be named the same as

your id and replace any _ with a space.