Link on navigation bar

I am working on my product landing page and, as per instructions I have created links inside my nav bar so that these take me to the correspondent section. When clicking on the links the outcome is right but for some reason, the test suite is telling me that the task hasn’t been fulfilled. Has anybody had the same issue before?
Here my code:

The nav-link class should be on the <a> elements not the <li>.

1 Like

the first line below the failed tests give more details, often useful in understanding the issue
for example, it says:

Each .nav-link element should have an href attribute

a element doesn’t have a href attribute

1 Like