How to create links that lead to a part of the same page

Hi, I’m doing the product landing page project. And it asks me the following:
I can see at least three clickable elements inside the nav element, each with the class nav-link.
The problem is that I added it, but in the tests it does not recognize them.
They can see my code and tell me what is wrong. I already searched the Internet and it seems everything is correct.

Hola Rodrigo!

You almost got it right :wink:

The error message for the failing test says:

Each .nav-link element should have an href attribute

So the element with class nav-link should also have href attribute. For example:

<a class="nav-link" href="#about-me">About me</a>

I hope it’s going to help you!

Thanks a lot. Now if you pass the test.