I can't get past the product landing page

I’m working on the product landing page and i’ve done everything, but no matter what i do i can’t get past these two user stories:

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.

User Story #12: When I click the #submit element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit).

for user story #5 i originally wrapped the " li " tag around the " a" one and someone told me to do the opposite for it to work so i did, but i got the same result.

Here’s what i got so far:
https://codepen.io/wiwita63/pen/pogKYVj

Hello~!

Let me see if I can point you in the right direction. :slight_smile:

User Story 5


The test looks for the .nav-link elements to have an href attribute. Your .nav-link class is applied to the <li>, which cannot have an href attribute.

User Story 12


The specific error message from the test should help. :slight_smile:

1 Like

Thank you, I’ll try that.

1 Like