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

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

#1

Hi!

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


#2

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>


#3

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:


#4

Glad to help. Onwards and upwards!