Technical Documentation Page - Build a Technical Documentation Page

how much i’ll try it is not working.

    @media body (max-width: 800;) {background-color: orange;}
    .main{position: fixed;} 
    .navbar{position : fixed;}
</style>
<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="styles.css" >
    </head>
    <body>
      <h1>JAVA Programming Language</h1>
  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>  <hr>
<div class="main">
        <nav id="navbar">
    <header>Menu</header>
    <ul>
           <li> <a href="#Introduction" class="nav-link">
                Introduction</a><br>
               <li> <a href="#History" class="nav-link">History</a><br></li>
               
          
          <li>  <a href="#Execution_system" class="nav-link">
                Execution system</a></br></li>
           <li> <a href="#Syntax" class="nav-link">
               Syntax</a></li>
          <li><a href="#Special_Classes" class="nav-link">
                Special Classes</a></li>
                </ul>
            </nav>
            <hr></hr>
            <main id="main-doc">
              <section class="main-section" id="Introduction">
                <header>
              Introduction     
                </header>
                <p>Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA),[17] meaning that compiled Java code can run on all platforms that support Java without the need to recompile.[18] Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic capabilities (such as reflection and runtime code modification) that are typically not available in traditional compiled languages. As of 2019, Java was one of the most popular programming languages in use according to GitHub,[19][20] particularly for client–server web applications, with a reported 9 million developers.</p>
                <p>Java was originally developed by James Gosling at Sun Microsystems and released in May 1995 as a core component of Sun Microsystems' Java platform. The original and reference implementation Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licenses. As of May 2007, in compliance with the specifications of the Java Community Process, Sun had relicensed most of its Java technologies under the GPL-2.0-only license. Oracle offers its own HotSpot Java Virtual Machine, however the official reference implementation is the OpenJDK JVM which is free open-source software and used by most developers and is the default JVM for almost all Linux distributions.</p>
                <hr></hr>
                </section>
  
            <section class="main-section" id="History">
                <header>
                    History
                </header>
                <p>James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991.[23] Java was originally designed for interactive television, but it was too advanced for the digital cable television industry at the time.[24] The language was initially called Oak after an oak tree that stood outside Gosling's office. Later the project went by the name Green and was finally renamed Java, from Java coffee, a type of coffee from Indonesia.[25] Gosling designed Java with a C/C++-style syntax that system and application programmers would find familiar.</p>
                  <p> Sun Microsystems released the first public implementation as Java 1.0 in 1996.[27] It promised write once, run anywhere (WORA) functionality, providing no-cost run-times on popular platforms. Fairly secure and featuring configurable security, it allowed network- and file-access restrictions. Major web browsers soon incorporated the ability to run Java applets within web pages, and Java quickly became popular. The Java 1.0 compiler was re-written in Java by Arthur van Hoff to comply strictly with the Java 1.0 language specification.[28] With the advent of Java 2 (released initially as J2SE 1.2 in December 1998 – 1999), new versions had multiple configurations built for different types of platforms. J2EE included technologies and APIs for enterprise applications typically run in server environments, while J2ME featured APIs optimized for mobile applications. The desktop version was renamed J2SE. In 2006, for marketing purposes, Sun renamed new J2 versions as Java EE, Java ME, and Java SE, respectively.</p>
                <p>In 1997, Sun Microsystems approached the ISO/IEC JTC 1 standards body and later the Ecma International to formalize Java, but it soon withdrew from the process.[29][30][31] Java remains a de facto standard, controlled through the Java Community Process.[32] At one time, Sun made most of its Java implementations available without charge, despite their proprietary software status. Sun generated revenue from Java through the selling of licenses for specialized products such as the Java Enterprise System.</p>
                <p>On November 13, 2006, Sun released much of its Java virtual machine (JVM) as free and open-source software (FOSS), under the terms of the GPL-2.0-only license. On May 8, 2007, Sun finished the process, making all of its JVM's core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.[33]</p>
                <p>un's vice-president Rich Green said that Sun's ideal role with regard to Java was as an evangelist.[34] Following Oracle Corporation's acquisition of Sun Microsystems in 2009–10, Oracle has described itself as the steward of Java technology with a relentless commitment to fostering a community of participation and transparency.[35] This did not prevent Oracle from filing a lawsuit against Google shortly after that for using Java inside the Android SDK (see the Android section).</p>
                <hr></hr>
                </section>
  
            <section class="main-section" id="Execution_system">
                <header>
                    Execution system
                </header>
                <p>Firstly some principle of Java</p>
                <ul>
                    <li>t must be simple, object-oriented, and familiar.</li>
                    <li>It must be robust and secure.</li>
                    <li>It must be architecture-neutral and portable.</li>
                    <li>t must execute with high performance.</li>
                    <li>It must be interpreted, threaded, and dynamic.</li>
                </ul>
                <h2>Java JVM and bytecode</h2>
                <p>One design goal of Java is portability, which means that programs written for the Java platform must run similarly on any combination of hardware and operating system with adequate run time support. This is achieved by compiling the Java language code to an intermediate representation called Java bytecode, instead of directly to architecture-specific machine code. Java bytecode instructions are analogous to machine code, but they are intended to be executed by a virtual machine (VM) written specifically for the host hardware. End-users commonly use a Java Runtime Environment (JRE) installed on their device for standalone Java applications or a web browser for Java applets.</p>
                <h2>Non-JVM</h2>
                <p>Some platforms offer direct hardware support for Java; there are micro controllers that can run Java bytecode in hardware instead of a software Java virtual machine,[52] and some ARM-based processors could have hardware support for executing Java bytecode through their Jazelle option, though support has mostly been dropped in current implementations of ARM.</p>
                <hr></hr>
                </section>
  
            <section class="main-section" id="Syntax">
                <header>
                    Syntax
                </header>
                <p>The syntax of Java is largely influenced by C++ and C. Unlike C++, which combines the syntax for structured, generic, and object-oriented programming, Java was built almost exclusively as an object-oriented language.[18] All code is written inside classes, and every data item is an object, with the exception of the primitive data types, (i.e. integers, floating-point numbers, boolean values, and characters), which are not objects for performance reasons. Java reuses some popular aspects of C++ (such as the printf method).</p>
                <p>ava uses comments similar to those of C++. There are three different styles of comments: a single line style marked with two slashes (//), a multiple line style opened with /* and closed with */, and the Javadoc commenting style opened with /** and closed with */. The Javadoc style of commenting allows the user to run the Javadoc executable to create documentation for the program and can be read by some integrated development environments (IDEs) such as Eclipse to allow developers to access documentation within the IDE.</p>
                <p>Hello world example
The traditional Hello world program can be written in Java as:</p>
                <code>
                    <iostream>  
                    <br>
                    public class HelloWorldApp {
                    <br>
                   ublic static void main(String[] args) {
                    <br>
                        System.out.println("Hello World!"); // Prints the string to the console.
                            <br>
                            }
                            
                            <br>
                        } <hr>
                </code>
                <br>
                <code>package fibsandlies;

import java.util.Map;
import java.util.HashMap;</code>
<hr></hr>
<code>public class FibCalculator extends Fibonacci implements Calculator {
    private static Map<Integer, Integer> memoized = new HashMap<>();</code>
    <hr>
    <code>public static void main(String[] args) {
        memoized.put(1, 1);
        memoized.put(2, 1);
        System.out.println(fibonacci(12));</code>
        <hr>
        <code>public static int fibonacci(int fibIndex) {
        if (memoized.containsKey(fibIndex)) {
            return memoized.get(fibIndex);</code>
</section>
  
            <section class="main-section" id="Special_Classes">
                <header>
                    Special Classes
                </header>
                <h2>Applets</h2>
                <p>Java applets were programs that were embedded in other applications, typically in a Web page displayed in a web browser. The Java applet API is now deprecated since Java 9 in 2017.</p>  
                <h2>Servlet</h2>      <p>technology provides Web developers with a simple, consistent mechanism for extending the functionality of a Web server and for accessing existing business systems. Servlets are server-side Java EE components that generate responses to requests from clients. Most of the time, this means generating HTML pages in response to HTTP requests, although there are a number of other standard servlet classes available, for example for WebSocket communication.

The Java servlet API has to some extent been superseded (but still used under the hood) by two standard Java technologies for web services:
<ul>
<li>the Java API for RESTful Web Services (JAX-RS 2.0) useful for AJAX, JSON and REST services, and</li>
<li>the Java API for XML Web Services (JAX-WS) useful for SOAP Web Services.</li>
</ul>
Typical implementations of these APIs on Application Servers or Servlet Containers use a standard servlet for handling all interactions with the HTTP requests and responses that delegate to the web service methods for the actual business logic.</p>     
                  <hr></hr>
                   </section>
                   <p>All the information are taken from</p>
                   <a href="https://en.wikipedia.org/wiki/Java_(programming_language)">Wikipedia</a>
                   </main>
    </div>
</body>
    </html>```
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: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36</code>

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

**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-technical-documentation-page-project/build-a-technical-documentation-page

We need to be able to see your HTML and CSS in order to help you. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.