I need to help Build a Technical Documentation Page

I need help i have a coding problem please what is the problem
HTML

Build a Technical Documentation Page
Technical Documentat Introduction

JavaScript is a cross-platform, object-oriented scripting language. It is a small and lightweight language. Inside a host environment (for example, a web browser), JavaScript can be connected to the objects of its environment to provide programmatic control over them.

JavaScript contains a standard library of objects, such as Array, Date, and Math, and a core set of language elements such as operators, control structures, and statements. Core JavaScript can be extended for a variety of purposes by supplementing it with additional objects;

for example:

  1. Client-side JavaScript extends the core language by supplying objects to control a browser and its Document Object Model (DOM). For example, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation.
  2. Server-side JavaScript extends the core language by supplying objects relevant to running JavaScript on a server. For example, server-side extensions allow an application to communicate with a database, provide continuity of information from one invocation to another of the application, or perform file manipulations on a server.
  </section>
  <section class="main-section" id="What_you_should_already_know">
    <header>What you should already know</header>
    <p>This guide assumes you have the following basic background:</p>
    <label>basic background:</label>
    <ol>
    <li>A general understanding of the Internet and the World Wide Web (WWW).</li>
        <li>Good working knowledge of HyperText Markup Language (HTML).</li>
        <li>Some programming experience. If you are new to programming, try one of the tutorials linked on the main page about JavaScript.</li>
      </ol>
      <h3>Start your career journey with the 5 Day Coding Challenge, learn the basics of HTML, CSS & JavaScript to discover if coding is the career path for you.</h3>

  </section>
  <section class="main-section" id="JavaScript_and_Java">
    <header>JavaScript and Java</header>
    <h3>JavaScript and Java</h3>
    <p> are similar in some ways but fundamentally different in some others. The JavaScript language resembles Java but does not have Java's static typing and strong type checking. JavaScript follows most Java expression syntax, naming conventions and basic control-flow constructs which was the reason why it was renamed from LiveScript to JavaScript.</p>
    <p>In contrast to Java's compile-time system of classes built by declarations, JavaScript supports a runtime system based on a small number of data types representing numeric, Boolean, and string values. JavaScript has a prototype-based object model instead of the more common class-based object model. The prototype-based model provides dynamic inheritance; that is, what is inherited can vary for individual objects. JavaScript also supports functions without any special declarative requirements. Functions can be properties of objects, executing as loosely typed methods.</p>
  <p>JavaScript is a very free-form language compared to Java. You do not have to declare all variables, classes, and methods. You do not have to be concerned with whether methods are public, private, or protected, and you do not have to implement interfaces. Variables, parameters, and function return types are not explicitly typed.</p>
  </section>
  <section class="main-section" id="Hello_world">
    <header>Hello world</header>
    <p>To get started with writing JavaScript, open the Scratchpad and write your first "Hello world" </p>
    <h4>JavaScript code:</h4>
   <code>function greetMe(yourName) { alert("Hello " + yourName); }

greetMe(“World”);

Select the code in the pad and hit Ctrl+R to watch it unfold in your browser!




Data types

The latest ECMAScript standard defines seven


data types:



  1. Six data types that are primitives:

    1. Boolean. true and false.

    2. null. A special keyword denoting a null value. Because JavaScript is case-sensitive, null is not the same as Null, NULL, or any other variant.

    3. undefined. A top-level property whose value is undefined.

    4. Number. 42 or 3.14159.

    5. String. “Howdy”

    6. Symbol (new in ECMAScript 2015). A data type whose instances are unique and immutable.



  2. and Object

  3. Although these data types are a relatively small amount, they enable you to perform useful functions with your applications. Objects and functions are the other fundamental elements in the language. You can think of objects as named containers for values, and functions as procedures that your application can perform.



  <section class="main-section" id="Function_declarations">
    <header>Function declarations</header>
    <p> A function definition (also called a function declaration, or function statement) consists of the function keyword</p>
    <h3> followed by:</h3>
    <ol>
        <li>The name of the function.</li>
        <li>A list of arguments to the function, enclosed in parentheses and separated by commas.</li>
        <li>The JavaScript statements that define the function, enclosed in curly brackets, { }.</li>
    </ol>
    <p>For example, the following code defines a simple function named square:</p>
    <code>function square(number) { return number * number; }</code>
   <p>The function square takes one argument, called number. The function consists of one statement that says to return the argument of the function (that is, number) multiplied by itself. The return statement specifies the value returned by the function.</p>
   <code>return number * number;</code>
   
  </section>

</main>

CSS

@media only screen and (max-width: 600px)

{font-size: 24px;}

Well, there are a few problems, but for now I’m talking about your post.

  1. Could you let us know what the problem is? (Ex: I can’t pass this last test… i can’t get the sections to line up… I can’t get the nav-bar to fix in place… etc). What exactly are you having problems with?

  2. I can’t really read your code. Your post is half code-quoted, and half not, so I can’t actually see the base code to read through it… not without viewing source and picking out your code snippets. Could you please edit your original post, and make sure all your code is posted between ``` symbles at the beginning and end of your code, and nowhere else?

```
<All of your code>
```

Keep in mind, those aren’t single quotes, they are … well, I don’t know what they’re called… but they are usually on the button to the left of the number 1 under the ~ on my keyboards at least.

1 Like

Hello, thank you for your answer, I solved the problem using the ollinepje monitor.
and my css coding
Thanks

<#### Solution for Build a Technical Documentation Page

HTML

<!-- file: index.html -->
!DOCTYPE html>
  <html lang="en">
      <head>
        <meta charset="UTF-8">
    <link rel="stylesheet" href="styles.css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Build a Technical Documentation Page</title>
   <style>
    @media screen and (max-width: 350px) {
            body {
        font-size: 16px;
      }
    }
    </style>
    <link rel="stylesheet">
<a href="styles.css" id="build_a_technical_documentation_page" target="_blank"></a>
  </head>
    <body class="body">
<div id="side-nav">
<nav id="navbar">
  <ul>
<header id="head" align="left"> JavaScript Documentation</header>
<li><a class="nav-link" href="#introductions">Introductions</a></li>
        <li><a class="nav-link" href="#prior_experiences">Prior Experiences</a></li>
        <li><a class="nav-link" href="#javascript_and_javalight">JavaScript and Javalight</a></li>
        <li><a class="nav-link" href="#variables">Variables</a></li>
        <li><a class="nav-link" href="#declarations">Declarations</a></li>
        <li><a class="nav-link" href="#varing_in_scope">Varing In Scope</a></li>
        <li><a class="nav-link" href="#constants">Constants</a></li>
        <li><a class="nav-link" href="#varying_data_types">Varying Data Types</a></li>
        <li><a class="nav-link" href="#functional_declarations">Functional declarations</a></li>
    <li><a class="nav-link" href="#learned_behaviors">Learned Behaviors</a></li>    
        <li><a class="nav-link" href="#reference">Reference</a></li>
      </ul>
    </nav>
<main id="main-doc">
      <section class="main-section" id="introductions">
        <header>Introductions</header>
        <p><code></code></p>
        <p><code></code></p>
      </section>
      <section class="main-section" id="prior_experiences">
        <header>Prior Experiences</header>
        <p></p>
        <p><code></code></p>
      </section>
      <section class="main-section" id="javascript_and_javalight">
        <header>JavaScript and Javalight</header>
        <p></p>
        <p><code></code></p>
      </section>
      <section class="main-section" id="variables">
    <header>Variables</header>
    <p></p>
     <p><code></code></p>
  </section>
  <section class="main-section" id="declarations">
    <header>Declarations</header>
    <p></p>
     <p><code></code></p>
  </section>
  <section class="main-section" id="varing_in_scope">
    <header>Varing in Scope</header>
    <p></p>
     <p><code></code></p>
  </section>
  <section class="main-section" id="constants">
    <header>Constants</header>
    <p></p>
     <p><code></code></p>
  </section>
  <section class="main-section" id="varying_data_types">
    <header>Varying Data types</header>
     <p><code></code></p>
     <p></p>
    <ol>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      </ol>
  </section>
  <section class="main-section" id="functional_declarations">
    <header>Functional Declarations</header>
    <p></p>
  </section>
  <section class="main-section" id="learned_behaviors">
    <header>Learned Behaviors</header>
    <p></p>
  </section>
  <section class="main-section" id="reference">
    <header>Reference</header>
  </section>
     </main>
      </body>
     </html>
#collinepje coding#

CSS

@media only screen and (max-width: 600px)
  <h1> {font-size: 24px;}
  #this is my coding#>