I have actually passed all the [user stories] for this challenge but I am failing at making the li element actually responded to other sections!
no matter what I do they still go directly to only the introduction section.
also, I have been failing to make the navbar stickers to the left side of the page, I guess I’m struggling with the Css is there any way to fix this?
You’ve given your section elements and your header elements the same id’s. This won’t work because id’s are supposed to be unique. I would give it to your section elements and give your header elements some other id name. Then see if your nav links will work.
As for the navbar position, I would open the codepen editor for the example page for this project and look at FCC’s css. That’s what I had to do. It was a good learning experience.
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”)
does this mean that i have to add the id to the section or the header?
i have tried but the li items kept appearing above the other elements and not really to the left especially when i set it to fixed!
i tried to add so i can separate em but it kept giving me an error when i was i tried to close
This just means that if you have a header called “javaScript” then you need to have a nav link that shows the text “javaScript”. In other words, the text for the links should match the text for the section headers. This user-story requirement is unrelated to the id. It’s really about the text.
That is just one of the duplicates I found.
You will need to carefully go through the document and remove all of the duplicate ids because there are a few.
@adramelech brought up another issue concerning the head tags.
Cleaning up your html will help you pass these tests.
As well as give you a better understanding of the proper html structure.