Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:
Describe your issue in detail here.

I seem to have passed all the other tests, but I can’t seem to pass this one:

Your #navbar should have exactly one header element within it.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="styles.css">
<head>
  <body>
  <nav id="navbar">
    <header><a class="nav-link" href="#JavaScript_and_Java">JavaScript and Java</a></header>
    </nav>

  <nav id="navbar"><header><a class="nav-link" href="#C_and_C++">C and C++</a></header></nav>

  <nav id="navbar"><header><a class="nav-link" href="#C#">C#</a>C#</header></nav>

  <nav id="navbar"><header><a class="nav-link" href="#Python">Python</a></header></nav>

  <nav id="navbar"><header><a class="nav-link" href="#Ruby_and_Perl">Ruby and Perl</a></header></nav>

      <main id="main-doc">
      <section class="main-section" id="JavaScript_and_Java">
        <header>JavaScript and Java</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
      <section class="main-section" id="C_and_C++">
        <header>C and C++</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
      <section class="main-section" id="C#">
        <header>C#</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
      <section class="main-section" id="Python">
        <header>Python</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
      <section class="main-section" id="Ruby_and_Perl">
        <header>Ruby and Perl</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
    </main>
    </body>
  </head>
</html>
/* file: styles.css */
@media {

}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

There are multiple <header> elements, but, as the exercise states it, there should be only one.

1 Like

Can’t believe I made such an obvious mistake. Hahah. Thanks so much for helping me finish the project! :grinning:

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