I am having a hard time passing the code test of each .nav-link element having an href

Each of my nav links work in my code, and I cannot find the solution as to why it will not pass the test when I run my code through freecodecamp. Here is the code in question:

<div class="navigation">
     <nav id="navbar">
       <header class="dragonball">Dragon Ball</header>
       <a class="nav-link" href="#creator">
         Creator
         </a>
       <a class="nav-link" href="#characters">
         Characters
         </a>
       <a class="nav-link" href="#sagas">
         Sagas
         </a>
       <a class="nav-link" href="#transformations">
         Transformations
       </a>
       <a class="nav-link" href="#overview">
         Overview
       </a>
     </nav>
     </div>

Is there something missing somewhere? As far as functionality, clicking on these elements works as intended, directing you to the portion of the page it displays. Please help!

We need to see all of your HTML to help you as there are several tests related to the nav bar and some of them depend on other elements in your code.

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