Product landing page - failed test with .nav-link button


I’m just finishing my Product Landing Page and I’m having problems with my .nav-link buttons in the nav element. I think href points to the correct section id, so I can’t seem to find the problem.
Can someone help me with this issue?

My codepen

The nav link must be an attribute of the actual <a> tag rather than the <li>. Try moving the class=“nav-link” to the <a>


You were absolutely right! Just passed all the tests and I am a little closer to my first FCC certification.

Thank you :slightly_smiling_face:

1 Like

Glad to help. Onwards and upwards!