Landing page user story 5

hi, i’m doing landing page, i can’t get past user story # 5, i don’t know why i can’t move on. PS The content of the code is temporary and is only made to pass the tests.
this is my code.pen: https://codepen.io/carmine_porpora/pen/GRrOKgY?editors=1000

You’re wrapping up the the anchor tag the wrong way and you should also put the class name “nav-link” to the anchor tag (you’re supposed to click the anchor tag not the li tag):

      <li class="nav-link"> <a href="#1"> sezione1  </li> </a>
      <li class="nav-link"> <a href="#2"> sezione2  </li> </a>
      <li class="nav-link"> <a href="#3"> sezione3  </li> </a>

So it should be:

      <li> <a class="nav-link" href="#1"> sezione1 </a> </li>
      <li> <a class="nav-link" href="#2"> sezione2 </a> </li>
      <li> <a class="nav-link" href="#3"> sezione3 </a> </li>

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