Technical Documentation Page Step 4


Not able to complete step 4
Anybody can help?

please post all the code

How to post code here

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 (').

<main id="main-doc">

  <section class="main-section"id="html">
  <header">HTML</header>
  <p></p>
  <p></p>
  <code></code>
  <li></li>
  </section>

//My Header is already the first child of my section i don't know why it is showing the error

  <section class="main-section"id="css">
  <header">CSS</header>
  <p></p>
  <p></p>
  <code></code>
  <li></li>
  </section>

  <section class="main-section"id="java">
  <header>JAVA</header>
  <p></p>
  <p></p>
  <code></code>
  <li></li>
  </section>

  <section class="main-section"id="kotlin">
  <header>Kotlin</header>
  <p></p>
  <p></p>
  <code></code>
  <li></li>
  </section>
  
  <section class="main-section"id="swift">
  <header>Swift</header>
  <p></p>
  <p></p>
  <code></code>
  <li></li>
  </section>
</main>

<nav id="navbar">
  <header>Technical Documentation Page</header>
  <a class="nav-link" href="#html">HTML</a>
<a class="nav-link" href="#css">CSS</a>
<a class="nav-link" href="#java">JAVA</a>
<a class="nav-link" href="#kotlin">Kotlin</a>
<a class="nav-link" href="#swift">Swift</a>
</nav>
<link rel="stylesheet" href="styles.css">

remove the double quotes from the header tag here

you should also place your link element inside a head element

Done Thanks alot for your help

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