Build a Product Landing Page User Story #5

Build a Product Landing Page User Story #5
0.0 0

#1

Tell us what’s happening:

Why can’t I get this to work?
User Story #5: When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-product-landing-page


#2

The error says:

AssertionError: The .nav-link with href="#pricing" is not linked to a corresponding element on the page.

Do you have an element with id=“pricing” to which the .nav-link with href="#pricing" points to?


#3

:man_facepalming: All I need to say for myself.

stuck too long on other stuff didn’t see that one…

thanks!