Hello, after a long time I returned to Freecodecamp to finish my receptive web design certification; I’m on the third project “Build a Product Landing Page”
But I have an error in the tests, I don’t know what happens to my “nav-link”
although I did everything the test asks for, it gives me an error … Can someone help me?

Error: 5. When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.’

Error: 12. When I click the #submit element, the email is submitted to a static page (use this mock URL: s://w.freecodecampm/email-submit).

Note: I am aware that I need to add the mediaquery for the responsive, but I am not working on it yet ( 2. My product landing page should have at least one media query. )


See the project here in codepen

First of all, welcome back.

Second, your header element should not be in the body element. they are two separate things.

It should be:


    <!--your code-->

Finally, some of your id’s don’t have names (you also don’t add the ‘#’ in the html, you only add the ‘#’ when referencing the id in css).

Fix those things and see what it says after that.