# Technical Documentation Page - Build a Technical Documentation Page

**URL:** <https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [October 19, 2022, 4:00pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584 "2022-10-19T16:00:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![carolyn.viviana](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/carolyn.viviana/32/286887_2.png) [@carolyn.viviana](https://forum.freecodecamp.org/u/carolyn.viviana)\
**Post date:** [October 19, 2022, 4:00pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/1 "2022-10-19T16:00:47Z")

</div>

**Tell us what’s happening:**  
You should have the same number of `.nav-link` and `.main-section` elements.

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 Technical Documentation project should use at least one media query.

**Your code so far**

```html
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    </head>
    <main id="main-doc">
      <nav id="navbar"><header id="nav-bar"><a class="nav-link">Main Menu</header>
        <ul><a class="nav-link" href="Create_an_Account">Create an Account</a>
        <a class="nav-link" href="Gallery">Gallery</a>
        <a class="nav-link" href="Meet_Our_Stylists">Meet Our Stylists</a>
        <a class="nav-link" href="Book_an_Appointment">Book an Appointment</a>
        <a class="nav-link" href="Contact_Us">Contact Us</a>
        </ul>
        </nav>
        
      
      <section class="main-section" id="Create_an_Account"><header>Create an Account</header>
      <li>Schedule a time with us!</li>
      <p>Create an account with us today in order to book an appointment.</p>
        <p> Plus, you will gain access to exclusive promotions.</p>
        <code>Account</code>
        </section>
        <section class="main-section" id="Gallery"><header>Gallery</header>
          <li>Take a look at our salon!</li>
          <p><image id="salon" src="https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.nickellebeauty.com%2F&psig=AOvVaw1f5IU1j4kqh87ltKOnWp3i&ust=1666274898576000&source=images&cd=vfe&ved=0CAwQjRxqFwoTCMDf4e277PoCFQAAAAAdAAAAABAE" alt="Our Salon"></image></p>
          <p><image id="hair" src="https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.thetrendspotter.net%2Flong-hairstyles-for-women%2F&psig=AOvVaw0fi9KnJY2-mitP8pmZpwMo&ust=1666274973924000&source=images&cd=vfe&ved=0CAwQjRxqFwoTCKD535G87PoCFQAAAAAdAAAAABAF" alt="Hair Model"></image></p>
          <code>Picture</code>
        </section>
        <section class="main-section" id="Meet_Our_Stylists" ><header>Meet Our Stylists</header>
        <li>Our top stylists</li>
          <p>Yolis is our founder and master hair colorist. </p>
          <p>Nico is our haircut expert.</p>
          <code> Our Stylists</code>
        </section>
        <section class="main-section" id="Book_an_Appointment"><header>Book an Appointment</header>
        <li>Let us make you feel beautiful!</li>
          <p>Click on the Calender to view available appointments.</p>
          <p>Select your stylist from the available time slots</p>
          <code>Appointment</code>
        </section>
        <section class="main-section" id="Contact_Us"><header>Contact Us</header>
        <li>You can contact us throught the following methods:
          <p>Our phone number is 555-6849</p>
          <p>Email us at colorexpertsbeautysalon@gmail.com</p>
    <code>Contact Us</code>
        </section>
      </main>

  </html>

```

```css
/* file: styles.css */
h1 {
  font-weight: bold; 

}

p{

}
@media (max-width:1576px){
  #navbar {width: 375px}
}

```

**Your browser information:**

User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36`

**Challenge:** Technical Documentation Page - Build a Technical Documentation Page

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-technical-documentation-page-project/build-a-technical-documentation-page)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [October 19, 2022, 4:05pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/2 "2022-10-19T16:05:19Z")

</div>

> [@carolyn.viviana](#):
>
> ```auto
> <head>
> <meta charset="utf-8"/>
> </head>
> 
> ```

first problem is you have not included a link to the stylesheet (the exercise I believe mentions this is a requirement)

Second issue I noticed:  
your nav links are missing the hashtag that will make them work internally to the page  
eg.

```auto
href="Gallery"

```

this will not link anywhere. Add # to it so it links to the id #Gallery.

---

<div class="post-metadata">

**Author:** ![carolyn.viviana](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/carolyn.viviana/32/286887_2.png) [@carolyn.viviana](https://forum.freecodecamp.org/u/carolyn.viviana)\
**Post date:** [October 19, 2022, 4:08pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/3 "2022-10-19T16:08:39Z")

</div>

Thank you! Do you know why it’s saying i dont have the same amount of .nav-link and .main-section elements? i see five of each.

---

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [October 19, 2022, 4:09pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/4 "2022-10-19T16:09:05Z")

</div>

try fixing the 2 points mentioned then repost your code here and I will investigate it further

---

<div class="post-metadata">

**Author:** ![carolyn.viviana](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/carolyn.viviana/32/286887_2.png) [@carolyn.viviana](https://forum.freecodecamp.org/u/carolyn.viviana)\
**Post date:** [October 19, 2022, 4:29pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/5 "2022-10-19T16:29:14Z")

</div>

```auto
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <link href="styles.css"></link>
    </head>
    <main id="main-doc">
      <nav id="navbar"><header id="nav-bar"><a class="nav-link">Main Menu</header>
        <ul><a class="nav-link" href="#Create_an_Account">Create an Account</a>
        <a class="nav-link" href="#Gallery">Gallery</a>
        <a class="nav-link" href="#Meet_Our_Stylists">Meet Our Stylists</a>
        <a class="nav-link" href="#Book_an_Appointment">Book an Appointment</a>
        <a class="nav-link" href="#Contact_Us">Contact Us</a>
        </ul>
        </nav>
        
      
      <section class="main-section" id="Create_an_Account"><header>Create an Account</header>
      <li>Schedule a time with us!</li>
      <p>Create an account with us today in order to book an appointment.</p>
        <p> Plus, you will gain access to exclusive promotions.</p>
        <code>Account</code>
        </section>
        <section class="main-section" id="Gallery"><header>Gallery</header>
          <li>Take a look at our salon!</li>
          <p><image id="salon" src="https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.nickellebeauty.com%2F&psig=AOvVaw1f5IU1j4kqh87ltKOnWp3i&ust=1666274898576000&source=images&cd=vfe&ved=0CAwQjRxqFwoTCMDf4e277PoCFQAAAAAdAAAAABAE" alt="Our Salon"></image></p>
          <p><image id="hair" src="https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.thetrendspotter.net%2Flong-hairstyles-for-women%2F&psig=AOvVaw0fi9KnJY2-mitP8pmZpwMo&ust=1666274973924000&source=images&cd=vfe&ved=0CAwQjRxqFwoTCKD535G87PoCFQAAAAAdAAAAABAF" alt="Hair Model"></image></p>
          <code>Picture</code>
        </section>
        <section class="main-section" id="Meet_Our_Stylists" ><header>Meet Our Stylists</header>
        <li>Our top stylists</li>
          <p>Yolis is our founder and master hair colorist. </p>
          <p>Nico is our haircut expert.</p>
          <code> Our Stylists</code>
        </section>
        <section class="main-section" id="Book_an_Appointment"><header>Book an Appointment</header>
        <li>Let us make you feel beautiful!</li>
          <p>Click on the Calender to view available appointments.</p>
          <p>Select your stylist from the available time slots</p>
          <code>Appointment</code>
        </section>
        <section class="main-section" id="Contact_Us"><header>Contact Us</header>
        <li>You can contact us throught the following methods:
          <p>Our phone number is 555-6849</p>
          <p>Email us at colorexpertsbeautysalon@gmail.com</p>
    <code>Contact Us</code>
        </section>
      </main>

  </html>

```

---

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [October 19, 2022, 4:31pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/6 "2022-10-19T16:31:46Z")

</div>

I’ve edited your code 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.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

---

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [October 19, 2022, 4:32pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/7 "2022-10-19T16:32:39Z")

</div>

> [@carolyn.viviana](#):
>
> `<a class="nav-link">Main Menu`

this is supposed to be a link?

---

<div class="post-metadata">

**Author:** ![carolyn.viviana](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/carolyn.viviana/32/286887_2.png) [@carolyn.viviana](https://forum.freecodecamp.org/u/carolyn.viviana)\
**Post date:** [October 19, 2022, 4:35pm UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/8 "2022-10-19T16:35:48Z")

</div>

Oh i see. That wasn’t supposed to be in there. Thanks for the help 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [April 20, 2023, 4:35am UTC](https://forum.freecodecamp.org/t/technical-documentation-page-build-a-technical-documentation-page/564584/9 "2023-04-20T04:35:49Z")

</div>

Closed on April 20, 2023, 4:35am UTC

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