All of your .main-section elements should be section elements

<!DOCTYPE HTML>
<html lang="en">
  <head>
    <title>Documentation Page</title>
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <main id="main-doc">
          <nav id="navbar">
        <header id="navbar">
          <a class="nav-link" href="#Introduction">Introduction</a>
          <a class="nav-link" href="#What_you_should_already_know">What you should already know</a>
          <a class="nav-link" href="#JavaScript_and_Java">JavaScript and Java</a>
          <a class="nav-link" href="#Hello_world">Hello world</a>
          <a class="nav-link" href="#Variables">Variables</a>
          <a class="nav-link" href="#Declaring_variables">Declaring variables</a>
          </header>
      </nav>
        <secton class="main-section" id="Introduction">
        <header>
          Introduction
        </header>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
      </section>
      <section class="main-section" id="What_you_should_already_know">
        <header>What you should already know</header>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
      </section>
      <section class="main-section" id="JavaScript_and_Java">
        <header>JavaScript and Java</header>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
      </section>
      <section class="main-section" id="Hello_world">
        <header >Hello world</header>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <code></code>
        <code></code>
        <code></code>
        <code></code>
        <code></code>
        <ul>
          <li></li>
          <li></li>
          <li></li>
          <li></li>
          <li></li>
        <ul>
      </section>
      <section class="main-section" id="Variables">
        <header>Variables</header>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <code></code>
        <code></code>
        <code></code>
        <code></code>
        <code></code>
      </section>
      <section class="main-section" id="Declaring_variables">
        <header>Declaring variables</header>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
        <code></code>
        <code></code>
        <code></code>
        <code></code>
        <code></code>
      </section>
        
      
    </main>
  </body>
</html>

a section element? do you not know how to write it

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I’ve edited your post, so it’s readable. But please explain what this is, it’s impossible to help you without knowing what help you need

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

plz chk my code once

that is misspelled so it is not aa section element

plz describe what part of the instructions you are stuck on. thx

thank u so much :sweat_smile: i was stuck from last two days

1 Like

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