Navbar link element with "nav-link" error

Greetings,

I’ve been chewing on this one for a couple of days now, I have compared the code with similar templates but keep getting this error:

Blockquote
“the navbar should contain link elements with the class of “nav-link”. There should be one for every element with the class “main-section”.”

Another pair of :eyes: could help me spot the mistake perhaps.

Here the codepen.io link

<nav id="navbar" , "navbar_header">
  <header>
    <h3>Waya Labs Docs</h3>
  </header>
  <li><a class="nav-link" href="#Introduction">Introduction</a></li>
  <li><a class="nav-link" href="#Principles">Principles</a></li>
  <li><a class="nav-link" href="#EVM_Compatible_Development">EVM Compatible Development</a></li>
  <li><a class="nav-link" href="#The_Avalanche_Network">The Avalanche Network</a></li>
  <li><a class="nav-link" href="#Avalanche_Network_RPC">Avalanche Network RPC</a></li>
  <li><a class="nav-link" href="#Add_Avalanche_Network_Programmatically">Add Avalanche Network Programmatically</a></li>
  <li><a class="nav-link" href="#Data_Structure">Data Structure</a></li><li>
</nav>```

Thanks in advance for taking a look!

The data structure section has a typo in the section class.

1 Like

absolutely right! thanks @eucalyptus

error  --> class="main_section"

correct --> class="main-section"

Appreciate your time Justin.

1 Like

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