Build a Technical Documentation Page test

Tell us what’s happening:
why my code does not pass the test.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0.

Challenge: Build a Technical Documentation Page

Link to the challenge:

Hey @omar-ez,

There are three user stories that you must accomplish to pass the test.

Here are the user stories that you are failing:

User Story #10: Additionally, the navbar should contain link ( a ) elements with the class of nav-link . There should be one for every element with the class main-section .

User Story #12: Each element with the class of nav-link should contain text that corresponds to the header text within each section (e.g. if you have a “Hello world” section/header, your navbar should have an element which contains the text “Hello world”).

User Story #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 .

thanks a lot :slight_smile: i have done it: