Build a technical documentation page

Hey, hello everyone…

please, I wrote the code for the task that is the subject of this post, and each topic is ok, except this one:

“None of your header elements should be empty”

But the code seems to be correct, could anyone help me finding what’s wrong, please? Thx a lot.

Here’s the code: (i havent put the link part, because i am a new user in forum, so i can not use more then 2 links, but i’m sure that they are correct as it should)

Documentation
<main id="main-doc">
  <section id="s1" class="main-section">
    <header>s1</header>
    <ul>
       <li>
       </li>
    </ul>
     <p></p>
     <p></p>
     <code>
     </code>
 </section>
 <section id="s2" class="main-section">                  
   <header>s2</header>
    <p></p>  
    <p></p>
    <ul>
      <li>
      </li>
    </ul>
   <code>
   </code>   
 </section>
 <section id="s3" class="main-section">
    <header>s3</header>
    <p></p>
    <p></p>
    <ul>
      <li>
      </li>
    </ul>
    <code>
    </code>
</section>
<section id="s4" class="main-section">
    <header>s4</header>
    <p></p>
    <p></p>
    <ul>
      <li>
      </li>
    </ul>
    <code>
    </code>
</section>
<section id="s5" class="main-section">
    <header>s5</header>
    <p></p>
    <p></p>
    <ul>
      <li>
      </li>
    </ul>
    <code>
    </code>
</section>
</main>

without seeing everything, there’s nothing much to advise.
Maybe you can place your code on repl.it or somewhere else in full so it can be viewed?

Oh sorry…
i have put it on GitHub right now:

thx for your help

Your code on GitHub passes the “No headers should be empty” test when I run it.

Yes, thats my problem too, as i mentioned here. But why is it happening if there are all headers required and all of them have content inside? Would you know it? Thx

hello, someone on the forum had a similar problem and it was related to their css styles.
Can you post the full code of your styles.css?

1 Like

oooooh!!!
I took a look at css. Found the problem, it was the media query that was hiding an id element. Solved, now i can get the certificate. Thx for your help and sorry regarding my bad english.

1 Like