Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:

When running my code on question 4 it’s falling but all is well

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" />
              <link rel="stylesheet" href="styles.css" />
                  <title>Technical Documentation</title>
                     </head>

                       <body>
                           <main id="main-doc">
                             <nav id="navbar">
                               <header> Topic </header>
                               <a class="nav-link" href="#filler_text_1">filler text 1</a>
                                <a class="nav-link" href="#filler_text_2">filler text 2</a> 
                                 <a class="nav-link" href="#filler_text_3">filler text 3</a> 
                                  <a class="nav-link" href="#filler_text_4">filler text 4</a> 
                                   <a class="nav-link" href="#filler_text_5">filler text 5</a> 
                             </nav>
                                 <section class="main-section" id="filler_text_1 ">
                                         <header> filler text 1<header>
                                                  <p>This is paragraph 2</p>
                                                          <p>This is paragraph 3</p>
                    <code></code>  
                    <ul>
                      <li></li>
                      <li></li>
                      <li></li>
                      <li></li>
                      <li></li>
                      </ul>                                          </section>
                                                                      <section class="main-section" id="filler_text_2 ">
                                                                              <header> filler text 2<header>
                                                                                     <p>This is paragraph 4</p>
                                                                                             <p>This is paragraph 5</p>
                                                                                             <code></code>
                                                                                                   </section>
                                                                                                         <section class="main-section" id="filler_text_3">
                                                                                                                 <header> filler text 3<header>
                                                                                                                         <p>This is paragraph 6</p>
                                                                                                                                 <p>This is paragraph 7 </p>
                                                                                                                                 <code></code>
                                                                                                                                       </section>
                                                                                                                                             <section class="main-section" id="filler_text_4 ">
                                                                                                                                                     <header> filler text
                                                                                                                                                             4<header>
                                                                                                                                                              <p>This is paragraph 8</p>
                                                                                                                                                                      <p>This is paragraph 9</p>
                                                                                                                                                                      <code></code>
                                                                                                                                                                            </section>
                                                                                                                                                                                  <section class="main-section" id="filler_text_5 ">
                                                                                                                                                                                          <header> filler text 5<header>
                                                                                                                                                                                                  <p>This is paragraph 10</p>
                                                                                                                                                                                                          <p>This is paragraph 11</p>
                                                                                                                                                                                                          <code></code>
                                                                                                                                                                                                                </section>
                                                                                                                                                                                                                                                                                                                                                                                                                                 </main> 
                                                                                                                                                                                                                      </body>
                                                                                                                                                                                                                        </html>
/* file: styles.css */
#navbar {
  position: fixed;
  left: 0;
  padding: 20px;
}

#navbar header {
  font-size: 2.2em;
  margin-bottom: 10px;
}

#navbar a {
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
}

#main-doc {
  margin-left: 200px;
}

@media (max-height: 600px) {
    .main-section{
      font-size: .7.9em;
    }
}

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Challenge Information:

Technical Documentation Page - Build a Technical Documentation Page

I highly suggest you do a right click and choose format document

remember that spaces are characters

    <section class="main-section" id="filler_text_2 ">
      <header> filler text 2<header>