It said that the href can’t find a link when there is one and it works. Here is the project: https://codepen.io/anon/pen/WBLBwe Help?
I dont understand your question.
It gives me this error: “When I click a
.nav-link button in the
nav element, I am taken to the corresponding section of the landing page.”, and i cannot spot the problem. The page is working, despite the error mesage.
When I click them they go to their correct spots.
Where are you expecting them to go?
Well, they do go where they are supposed to. The site just gives me the error message.
I don’t see any error messages when clicking them.
The only errors I see are missing images, refusal to display youtube link & react reference error.
But those errors are displayed before clicking anything. So it doesn’t have anything to do with clicking the tabs.
Oh. This is some sort of FCC error checking thing.
Well from reading directions of error,. it says:
Each .nav-link element should have an href attribute.
Well, from looking at your website., your LIs have .nav-link,. not your anchors
Worked, thanks! I really thought the site had a bug lol.
Haha… yeah,. always read the error messages very critically.
Will do in the future!