Problems with project "Landing page" User story #5

Hi friends.
I have been around this user story but I can’t get what my problem is.
The page seems to be working as expected, but it doesn’t pass the test.
The log says: “Each .nav-link element should have an href attribute : expected false to equal true. AssertionError: Each .nav-link element should have an href attribute : expected false to equal true” but as long as I understand, there is an href attribute for each nav-link element and they link to the corresponding section. I appreciate your help!.
Here is the link to my project, don’t look presentation :grinning: I first make it work, then get into getting it look fine.
https://codepen.io/mearistizabal/pen/OJReqaY

I have seen it, dont mind me.

1 Like

Sorry, I missed that.

Class nav-link should be on the a element not the li element

Thanks a lot!. It worked. I never understood that was the problem!.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.