Responsive Web Design Projects - Build a Technical Documentation Page

Tell us what’s happening:
I’ve been trying to save my progress on my certification project but it hasn’t ,its been giving me an error message

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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Responsive Web Design Projects - Build a Technical Documentation Page

Link to the challenge:

Post the entire html and css code here.

Technical documentation

JS Documentation

  <li><a class="nav-link" href="#introduction">introduction</a> </li>

   <li><a class="nav-link" href="#what_you_should_already_know">what you should already know</a> </li>

    <li><a class="nav-link" href="#JavaScript_and_Java">JavaScript and Java</a> </li>
     <li><a class="nav-link" href="#"> Hello world</a> </li>
      <li><a class="nav-link" href="#Variables">Variables</a> </li>

       <li><a class="nav-link" href="#Declaring variables">Declaring variables </a> </li>
        <li> <a class="nav-link" href="#Variables scope"> Variables scope</a></li>
         <li> <a class="nav-link" href="#Global variables"> Global variables</a></li>
          <li> <a class="nav-link" href="#constants"> constants</a></li>
           <li> <a class="nav-link" href="#Data types"> Data types</a></li>
            <li><a class="nav-link" href="#if...else statement">if...else statement </a> </li>
             <li> <a class="nav-link" href="#while statement"> while statement</a></li>
              <li> <a class="nav-link" href="#Function declarations"> Function declarations</a></li>
              
                <li> <a class="nav-link" href="#Reference"> Reference</a></li>
               <li> </li>

  </ul>

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:

  • 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.

  • 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.

What you should already know

his guide assumes you have the following basic background:

<ul>
  <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>
</ul>

JavaScript and Java

JavaScript and Java 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>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">
  <h1>Hello world</h1>
  <p>To get started with writing JavaScript, open the Scratchpad and write your first "Hello world" JavaScript code:</p>
</section>
<section class="main-section" id="Variables">
  <h1> Variables</h1>
</section>
<section class="main-section" id="Declaring variables">
  <h1>Declaring variables</h1>
</section>
<section class="main-section" id="Variable scope">
  <h1>Variables scope</h1>
</section>
<section class="main-section" id="Global variables">
  <h1> Global variables</h1>
</section>
<section class="main-section" id="Constants">
  <h1>constants</h1>
</section>
<section class="main-section" id="Data types">
  <h1> Data types</h1>
</section>
<section class="main-section" id="if...else statement">
  <h1>if...else statement</h1>
</section>
<section class="main-section" id="while statement">
  <h1>while statement</h1>
</section>
<section class="main-section" id="Function declarations">
  <h1>Function declarations</h1>
</section>
<section class="main-section" id="Reference">
  <h1>Reference</h1>
</section>

ody{display: flex;

flex-direction: row;

font-family: ‘open,sans’;

line-height: 1.5;

color:#4d4e53;

background-color: white;

}

#navbar{

height: 100vh;

width: 25%;

}

#main-doc{

height: 100%;

width: 100vw;

}

  • You didn’t post the entire html code.

  • The instruction: " 4. Each section element with the class of main-section should also have an id that corresponds with the text of each header contained within it. Any spaces should be replaced with underscores (e.g. The section that contains the header “JavaScript and Java” should have a corresponding id="JavaScript_and_Java")"

<section class="main-section" id="Declaring variables"> ...where is the underscore here?
  <h1>Declaring variables</h1>
</section>
  • <li><a class="nav-link" href="#"> Hello world</a> </li> …href is empty

  • all nav-link elements have the ‘href’ value without underscores. They can not be linked properly to the corresponding ids which also must have underscores between words, according to User Storie No.4.

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