Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:
When I run the test it fails," Your #navbar should always be on the left edge of the window."
I have cleared and restarted still can’t figure out what I am doing wrong I seem to be going about this from the wrong direction. Maybe. any hints or links to documents would be appreciated.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Technical Documentation</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./styles.css">
    <header id="header"><strong>Technical Documentation</strong></header>
      <nav id="navbar">
      <header align="left">Jump to Topic</header>      
      <li><a class="nav-link" href="#topic_1">Topic 1</a></li>
      <li><a class="nav-link" href="#topic_2">Topic 2</a></li>
      <li><a class="nav-link" href="#topic_3">Topic 3</a></li>
       <li><a class="nav-link" href="#topic_4">Topic 4</a></li>
       <li><a class="nav-link" href="#topic_5">Topic 5</a></li>
       <main id="main-doc">
         <section class="main-section" id="topic_1">
      <header><code>Topic 1</code></header>
      <p>This is a technical doc for propellers</p>
        <li>Specs fo Propellers</li>
        <li>Data section</li>
        <li>We show all the numbers</li>
        <li>angle of the prop</li>
        <li>angle and radius dependent on distance from hub</li>
      <section class="main-section" id="topic_2">
      <header><code>Topic 2</code></header>
      <p>This is a technical document for Jet Engines only</p>
      <p>Here we begin to list the components of a jet engine</p>
      <p>list of only the fuel portion of the engine</p>
      <section class="main-section" id="topic_3">
      <header><code>Topic 3</code></header>
      <p>Jet engine rotating parts only</p>
      <p>list of all the shafts that spin</p>
      <p>list of all the peices that lubricate the engine</p>
      <p>oil pump</p>
      <section class="main-section" id="topic_4">
      <header><code>Topic 4</code></header>
      <p>list of all the auxiluary components</p>
      <p>hydralics does not run the engine but sure helps you fly</p>
      <p>hydralic rotating parts</p>
      <p>hydralic (pump)</p>
      <section class="main-section" id="topic_5">
      <header><code>Topic 5</code></header>
      <p>hydralic parts that are fixed</p>
      <p>list hydralic parts not rotating </p>
      <p>parts fixed in place</p>
      <p> hoses </p>

/* file: styles.css */

html {  
  font-size: 20px; 
  font-family: "Open Sans", sans-serif;
  background-color: #0497;
#header:first-of-type {
  text-align: center;

body {
   display: flex;
   flex-direction: column;
   width: 700px;
   margin: 0;
   padding: 0 20px 20px 20px;
code {
  font-size: 25px;
  font-weight: bold;

#navbar {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  flex: 0 0 20%;
  height: 20%;
  position: fixed;

main {
  flex-direction: column;
  padding: 10px;

.main-section {
  display: flex;
  flex-direction: column;
  padding:0 5px 5px 135px;
  margin-left: 100px;
.nav-link {
  font-weight: bold;
  font-size: 1rem;
  flex-direction: column;

@media (max-width: 1199px) and (min-width: 769px) {
  #main-section {width: 675px}
  .keys {width: 633px}
@media (max-width: 768px) {
  #main-section {
    width: 358px;

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:

take another look at the past couses, this is what I do when I get stuck in a cert since they don’t expect you to know anything they have yet to go over.
Its also likely the answer your looking for is in one of them.

there is also an example page as a clue:

be sure to play around with this page, you could also inspect it via right clicking on the open webpage then clicking inspect, to see the HTML and CSS that makes it up

I recommend creating small dummy sites, these can help by giving you somewhere to ‘play’ with different layouts, styles, animations, etc

having looked at what your code produces,
its possible its considering the nav bar, to be at the ‘top’ but not the ‘left’.

when I did this project I used media queries to have the nav bar
span the top of the window on small screens,
and jump to the left for large screens.
If you look at the example website, resizing the window will do the same.

this vid may be able to help show you what I mean, I’ve not watched all of it but the first part demonstrates a responsive layout:
(5) CSS Media Queries Tutorial for Responsive Design - YouTube

searching flexbox and media queries, responsive layouts, can get you some great results and examples

Which sides of the body are you adding padding to? Could one of those sides be keeping your nav menu from touching the left edge of the window?

Great hint, I had to go find padding info. Thank you I solved it.

Thank you Guided. Question how do you get into a page or is that an app to both code and see the results like you can inside this course. That guy in the video was doing it real time that was great for instruction and trouble shooting. Bill

1 Like

sorry took so long to get back to you.
If your asking how to edit documents outside freeCodeCamp for practising,

the guy in the video was using a text editor.
however you likely already have one on your computer you could get started with.


to use notepad as a text editor all you have to do is:
open notepad,
type out some boiler plate:
for HTML:

<!doctype html>
            <p>Hello World</p>

save the document with .html at the end of its name
(most of the time I use index.html as the file name of my first page)

this will make a web document when double clicked it will open in the browser.
to open in notepad simply right click and choose ‘open with’.

notepad is the most basic text editor I know of.
however there are better ones out there for beginners.

I started with brackets but now use VS Studio Code. both can be downloaded for free.

1 Like

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