Technical Documentation Page Error

I have been trying to work on the FCC project and I happen to have been stuck on a particular part of it; the number 13 that says " 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 . "

I have everything that I think I am supposed to do but all to no avail.
Can anyone please look into it? I have included the codepen link below; thank you

https://codepen.io/cmb1020/pen/gOmgQqg

Hi

Every .nav-link should have an href value that links it to its corresponding .main-section (e.g. href=“#Introduction”). Check that these .main-section ids have corresponding href values : Event_Planning : expected 1 to equal 0

They specify that the error is for the Event_Planning link…

You’ll find a small typo there - on line 71 (HTML), the nav-link is linked to "#Event_planning" whereas the corresponding section ID is "#Event_Planning"

IDs are case-sensitive in HTML (though in CSS, the case doesn’t matter)…

I hope that helped :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.