Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:

Content is just a sample data, will be modifing later!!

Your code so far

      border-bottom :2px solid grey;

      border:2px solid white;

    @media (max-width: 600px) {
body {
background-color: lightblue;
  <main id="main-doc">
    <section id="left"><h2>JS&nbsp;Documentation&nbsp;Replica</h2>
    <nav id="navbar">
   <a  class="nav-link" href="#Introduction">Introduction</a>
   <a class="nav-link" href="#Prerequisites">Prerequisites</a>
<a  class="nav-link" href="#JavaScript">JavaScript</a>
  <a class="nav-link" href="#HelloWorldSample">HelloWorldSample</a>
   <a class="nav-link" href="#HelloWorld">HelloWorld</a>

    <section id="right">
     <section class="main-section" id="Introduction"><header>Introduction<header>
       <p><div>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.</div>
         <div>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:
           <ul><li>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.
<li>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  class="main-section" id="Prerequisites"><header>Prerequisites<header>
       <p><div>This 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></div></p>
       <section class="main-section" id="JavaScript">
             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.
             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.
             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.
       <section class="main-section" id="HelloWorldSample"><header>HelloWorldSample</header>
       <p><div>To get started with writing JavaScript, open the Scratchpad and write your first "Hello world" JavaScript code:
         <code class="code">function greetMe(yourName) { alert("Hello " + yourName); }
     <code class="code">function greetMe(yourName) { alert("Hello " + yourName); }
  <code class="code">function CountPens(pens) { alert("No of pens on the table: " + pens); }
CountPens(7);</code>     <code class="code">console.log('Testing the if condition............') </code>   
  <code class="code"> document.write("hello world");</code>
        <section class="main-section" id="HelloWorld"><header>HelloWorld</header>
       <p><div>To get started with writing JavaScript, open the Scratchpad and write your first "Hello world" JavaScript code:
         <div class="code">function greetMe(yourName) { alert("Hello " + yourName); }



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/ Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

I cannot see your html code.

Try this thread here,

I hope it helps :pray:

@alfonsusac @hbar1st Thanks for your time and reply. Please refer to my code. I hope it’s visible. It is alligned with code as suggested by @alfonsusac . please let me know if anything is missed from my side!
Thanks again.

1 Like

Hi @brundabharadwaj.2211.

There is a lot unclosed tag in your code.

Please run your code through this website:
Paste your code and resolve the problem.

Edit: sorry, only one unclosed tag.

Hi @brundabharadwaj.2211

Upon further read, I have found that you have improperly closed tags.

Closing tags should be like this </header> and not <header>

Check your header element. It has to be properly closed.

1 Like

Hi @alfonsusac Omg! That was a huge mistake! Thanks a lot :slight_smile:

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