So while I figured out the whole fixed to top issue. Now it seems that my code wont pass the test for the nav links going to a section of the page. Even tho I click on the links and they work??
Send help lol
So while I figured out the whole fixed to top issue. Now it seems that my code wont pass the test for the nav links going to a section of the page. Even tho I click on the links and they work??
Send help lol
It fails because it says Each .nav-link
element should contain a href element. You put your nav-link class on your li
element which doesn’t contain a href since your a
tags have the href attribute. You have to give your a tags the .nav-link class.
And you have to remove the class .nav-link from your li
elements.
Thank you! I appreciate it!