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


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>


<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 class="main-section" id="Where_to_learn"><header>Where to learn</header>
  <a href="">FreeCodeCamp
  <a href="">codecademy
  <a href="">W3schools
  <a href="">Lynda
  <a href="">Teamtreehouse</a>

<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 class="main-section" id="How_to_add_text"><header>How to add text</header>
<p> Text can be added using the following element:
 <code> &#60;lo&#62;</code>

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

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

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ 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.


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

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