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.
Old thread but, I was just having the same issue. Turns out, you have to make sure the element with id = pricing matches the href =#pricing. You have to check the spelling and case sensitivity of the href=#pricing and the id=pricing…Make sure both matches exactly.