HTML/CSS Product Landing Page Help!

Hello, I’m having trouble with the product landing section of Projects. User Story #5 is giving me a hard time, I can’t figure out why my nav-link is not correct. I set each section with an “id” but I keep getting an error. Can someone please explain to me how to solve this?

Thank you in advance.

Here is a link to my code.

Hello and welcome to the freeCodeCamp community~!

This is the source of your error. Your nav-link element is the <li>, but your <a> element has the href attribute. The test fails because it looks for the nav-link element to also have the href attribute. :slight_smile:

Thank you so much!! It works! I also needed to give a href attribute to my logo.

1 Like