Problem with media query requirement and <header>

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

Your code so far
Hi,
I struggle on two requirements:

  1. “The first child of each .main-section should be a header element.”
    In my code this part works perfectly. I don’t understand the logic of this demand. Now the link from the navigation directs the user to the corresponding

    . If I change places of and

    the next requirements ask me to create internal link to the

  2. “Your Technical Documentation project should use at least one media query.”
    I added:
    @media only screen and (max-width: 815px) {
    /* For mobile phones: */
    #navbar {
    border: 1px solid;
    height: 207px;
    }
    }
    Is there a mistake?

Thanks in advance for answers!

<!-- 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>Technical Documentation Page</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <header>
      <nav id="navbar">
        <header>Navbar Header</header>
        <ul>
          <li><a class="nav-link" href="#Introduction">Introduction</a></li>
          <li><a class="nav-link" href="#Section_1">Section 1</a></li>
          <li><a class="nav-link" href="#Section_2">Section 2</a></li>
          <li><a class="nav-link" href="#Section_3">Section 3</a></li>
          <li><a class="nav-link" href="#Section_4">Section 4</a></li>
          <li><a class="nav-link" href="#Section_5">Section 5</a></li>
        </ul>
      </nav>
      <h1>Technical Documentation</h1>
    </header>
    <main id="main-doc">


      <section id="Introduction" class="main-section">
        <h2>Introduction</h2>
         <header>Text that describes the topic of that section</header>
        <p>Welcome to our technical documentation page. This page provides information on our software products and services.</p>
      </section>

      <section class="main-section" id="Section_1">
        <h2>Section 1</h2>
        <header>Text that describes the topic of that section1</header>
        <p>This section provides information on our software product.
          <code>var x = 42.</code>
          <code>var x = 42.</code>
          <code>var x = 42.</code>
          <code>var x = 42.</code>
          <code>var x = 42.</code>
        </p>
        <h3>Subsection 1.1</h3>
        <p>This subsection provides detailed information on a specific feature of our software product.</p>
        <h3>Subsection 1.2</h3>
        <p>This subsection provides detailed information on another feature of our software product.</p>
      </section>

      <section class="main-section" id="Section_2">
        <h2>Section 2</h2>
        <header>Text that describes the topic of that section2</header>
        <p>This section provides information on our services.</p>
        <h3>Subsection 2.1</h3>
        <p>This subsection provides detailed information on a specific service we offer.</p>
        <h3>Subsection 2.2</h3>
        <p>This subsection provides detailed information on another service we offer.</p>
      </section>

      <section class="main-section" id="Section_3">
        
        <h2>Section 3</h2>
        <header>Text that describes the topic of that section3</header>
        <p>This section provides information on our company.</p>
        <h3>Subsection 3.1</h3>
        <p>This subsection provides detailed information on our company's history.</p>
        <h3>Subsection 3.2</h3>
        <p>This subsection provides detailed information on our company's mission.</p>
      </section>
      <section class="main-section" id="Section_4">
        
        <h2>Section 4</h2>
        <header>Text that describes the topic of that section4</header>
        <p>This section provides additional resources for our users.</p>
        <ul>
          <li><a href="#">Resource 1</a></li>
          <li><a href="#">Resource 2</a></li>
          <li><a href="#">Resource 3</a></li>
           <section class="main-section" id="Section_5">
        <h2>Section 5</h2>
      <header>Text that describes the topic of that section5</header>
        <p>This section provides additional resources for our users.</p>
        <ul>
          <li><a href="#">Resource 1</a></li>
          <li><a href="#">Resource 2</a></li>
          <li><a href="#">Resource 3</a></li>
        </ul>
      </section>
    </main>
  </body>
</html>

/* file: styles.css */
@media only screen and (max-width: 815px) {
  /* For mobile phones: */
  #navbar {
    border: 1px solid;
    height: 207px;
  }
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

It’s styles.css. You forgot the s on the end of styles.