Product Landing Page Nav Issue

This is the test that I’m not passing: “When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page”.
I’m not understanding why it’s not true because when I click the links, it navigates to the appropriate part of the page.Thank you so much for any help you give.

I had to move my class to the a element.

got same problem. can you explain it how you managed to solve ?

I initially had my class declared in the li element and it needed to be declared in the a element.

1 Like