I am not sure why I am receiving failure errors for stories 10,12, and 13.
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
.
Technical documentation (codepen.io)
Any help is greatly appreciated!