Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:

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

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Personal Page</title>
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <main id="main-doc">
      <nav id="navbar">
        <header>Knowledge</header>

        <section class="main-section" id="html">
          <header>html</header>
          <a class="nav-link" href="#html">html</a>
          <p></p>
          <p></p>
          <code></code>
          <li></li>
        </section>

        <section class="main-section" id="css">
          <header>css</header>
          <a class="nav-link" href="#css">css</a>
          <p></p>
          <p></p>
          <code></code>
          <li></li>
        </section>

        <section class="main-section" id="js">
          <header>js</header>
          <a class="nav-link" href="#js">js</a>
          <p></p>
          <p></p>
          <code></code>
          <li></li>
        </section>

        <section class="main-section" id="java">
          <header>java</header>
          <a class="nav-link" href="#java">java</a>
          <p></p>
          <p></p>
          <code></code>
          <li></li>
        </section>

        <section class="main-section" id="python">
          <header>python</header>
          <a class="nav-link" href="#python">python</a>
          <p></p>
          <p></p>
          <code></code>
          <li></li>
        </section>

      </nav>
    </main>
  </body>
</html>

/* file: styles.css */
@media only screen and (max-width: 600px) {
  /* Adjust styles for smaller screens */
  body {
    font-size: 14px;
  }
}

Your browser information:

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

Challenge Information:

Technical Documentation Page - Build a Technical Documentation Page

Hello!

Move the closing </nav> above the sections and the test will pass.

2 Likes

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