Fail Test When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page

I am starting by creating the HTML structure but, I don’t know why it’s not passing the test. When I click on the link “specifications” it actually takes me to the section of the page correctly. I don´t know what is the requirement: a button or just a <li> could work? Or what is the error in this case?

This is my code pen: Product Landing Page (

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.56.

Challenge: Build a Product Landing Page

Link to the challenge:

Hi @psanchezp31 !

You have to read the full error messages.

Each .nav-link element should have an href attribute

You wrote this
<div class="nav-link">

Those classes should be in the anchor tag.

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