Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:

Can’t seem to get these 2 steps correct:
1)Each .nav-link should have text that corresponds to the header text of its related section (e.g. if you have a “Hello world” section/header, your #navbar should have a .nav-link which has the text “Hello world”).
2) Each .nav-link should have an href attribute that links to its corresponding .main-section (e.g. If you click on a .nav-link element that contains the text “Hello world”, the page navigates to a section element with that id)

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

<li> <a class="nav-link" href="#Styling_with_CSS"> Styling with CSS</a></li>

<li> <a class="nav-link" href="#Projects_to_do"> Projects to do?</a></li>

<li> <a class="nav-link" href="#References_guide" >References guide</a>

</ul>
</nav>



<section class="main-section" id="What_is_HTML"><header>What is HTML</header>
<p>What is HTML in simple definition?
HTML (HyperText Markup Language) is the most basic building block of the Web.It defines the meaning and structure of web content. Hypertext: text (often with embeds such as images, too) that is organized in order to connect related items.Markup: a style guide for typesetting anything to be printed in hardcopy or soft copy format. Language: a language that a computer system understands and uses to interpret commands.</p>
</section>

<section class="main-section" id="Where_to_learn"><header>Where to learn</header>
<ul>
  <li>
  <a href="FreecodeCamp.org">FreeCodeCamp
  </li>
  <li>
  <a href="codecademy.com">codecademy
  </li>
  <li>
  <a href="w3schools.com">W3schools
  </li>
  <li>
  <a href="Lynda.com">Lynda
  </li>
  <li>
  <a href="teamtreehouse.com">Teamtreehouse</a>
  </li>
  
  </ul>
  </section>


<section class="main-section" id="Elements_and_tags"><header>Elements and tags</header>
<p class="sub-heading">Elements</p>
<p>HTML element holds the content.Whatever written within a HTML tag are HTML elements.HTML elements specifies the general conten</p>
<p class="sub-heading">Tags</p>
<p>HTML tags are used to hold the HTML element. HTML tag starts with < and ends with>.HTML tags are almost like keywords where every single tag has unique meaning.</p>
</section>

<section class="main-section" id="How_to_add_text"><header>How to add text</header>
<p> Text can be added using the following element:
 <p><code>&#60;p&#62;</code></br>
 <code>&#60;h&#62;</code></br>
  <code>&#60;header&#62;</code></br>
  <code>&#60;Footer&#62</code></br>
  <code>&#60;li&#62;</code></br>
 <code> &#60;lo&#62;</code>
</p>
</section>

<section class="main-section" id="Divs_and_sections"><header>Divs and Sections</header>
<p class="sub-heading">Divs</p>
The &#60;div&#62; tag defines a division or a section in an HTML document.

The &#60;div&#62; tag is used as a container for HTML elements - which is then styled with CSS or manipulated with JavaScript.

The &#60;div&#62; tag is easily styled by using the class or id attribute.

Any sort of content can be put inside the &#60;div&#62; tag.
<p class="sub-heading">Section</p>
<p>The &#60;section&#62; tag defines a section in a document.</p> 
</section>

<section class="main-section" id="Images_and_sounds"><header>Images and sounds</header>
<p class="sub-heading">Images</p>
<p>The HTML &#60;img&#62; tag is used to embed an image in a web page.

Images are not technically inserted into a web page; images are linked to web pages. The &#60;img&#62; tag creates a holding space for the referenced image.

The &#60;img> tag is empty, it contains attributes only, and does not have a closing tag.

The &#60;img&#62; tag has two required attributes:

src - Specifies the path to the image
alt - Specifies an alternate text for the image</p>

<p class="sub-heading">Audio</p>
<p>To play an audio file in HTML, use the &#60;audio&#62; element</p>
<p>The controls attribute adds audio controls, like play, pause, and volume.

The &#60;source&#62; element allows you to specify alternative audio files which the browser may choose from. The browser will use the first recognized format.

The text between the &#60;audio&#62; and&#60;/audio&#60; tags will only be displayed in browsers that do not support the &#60;&#47;audio&#62; element.


</section>

<section class="main-section" id="Styling_with_CSS"><header>Styling with CSS</header><p>CSS can be added to HTML documents in 3 ways:

Inline - by using the style attribute inside HTML elements
Internal - by using a &#60;style&#62; element in the &#60;head&#62; section
External - by using a &#60;link&#62; element to link to an external CSS file</p>
</section>

<section class="main-section" id="Projects_to_do"><header>Projects to do</header>
<ul>
  <li>A Tribute Page</li> 
<li>Webpage Including Form</li>
<li>Parallax Website</li>
<li>Landing Page</li>
<li>Restaurant Website</li>
</section>

<section class="main-section" id="References_Guide"><header>References guide</header>

 <p>
   All the documentation in this page is taken from&#x3a </p>
   <p> <a class="reference" href="FreeCodeCamp.org">FreeCodeCamp</a></P>
<p ><a class="reference" href="W3schools.com" >W3schools</a></p>
</section>
</main>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

Hello there.

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Hi,

When I run my code, its says my “nav-link” and “main-section” id are not corresponding. I have checked over and over again, can’t seem to find the issue

I have found the issue