<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<mata charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<title>technical-documentation-page</title>
</head>
<body>
<main id="main-doc">
<nav id="navbar">
<header>JS Documentation</header>
<ul>
<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="Declaring variables">Declaring variables</a>
</li>
<li>
<a class="nav-link" href="JavaScript and Java">JavaScript and Java</a>
</li>
<li>
<a class="nav-link" href="Hello world">Hello world</a>
</li>
<li>
<a class="nav-link" href="Variables">Variables</a>
</li>
</ul>
</nav>
<section class="main-section"id="Introduction">
<header>
<font>Introduction</font>
</header>
<article>
<ul>
<li> JavaScript — кроссплатформенный, объектно-ориентированный язык сценариев. Это небольшой и легкий язык.</li>
<li>Внутри
хост-среды (например, веб-браузера) JavaScript может быть подключен к объектам этой среды для обеспечения
программного управления ими.</li>
</ul>
<p>
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:
</p>
<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>
<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>
</ul>
<p>You should have at least five code elements that are descendants of .main-section elements.</p>
<p>You should have at least five code elements that are descendants of .main-section elements.</p>
</article>
</section>
<section class="main-section" id="What_you_should_already_know">
<header><font>What you should already know</font></header>
<article>
<p>This guide assumes you have the following basic background:</p>
<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>
<p>You should have at least five code elements that are descendants of .main-section elements.</p>
<p>You should have at least five code elements that are descendants of .main-section elements.</p>
</article>
</section>
<section class="main-section" id="Declaring_variables">
<header>
<font>Declaring variables</font>
</header>
<article>
<p>You can declare a variable in three ways:</p>
<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>
<p></p>
</article>
</section>
<section class="main-section" id="JavaScript_and_Java">
<header>
<font>JavaScript and Java</font>
</header>
<article>
<ul>
<li>
JavaScript and Java are similar in some ways but fundamentally different in some others. The JavaScript
</li>
</ul>
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>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>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>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>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>
<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>
<p></p>
<p></p>
</article>
</section>
<section class="main-section" id="Hello_world">
<header>
<font>Hello world</font>
</header>
<article>
<p>To get started with writing JavaScript, open the Scratchpad and write your first "Hello world" JavaScript
code:</p>
<code>unction greetMe(yourName) { alert("Hello " + yourName); }
greetMe("World");</code>
<p>Select the code in the pad and hit Ctrl+R to watch it unfold in your browser!</p>
<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>
<p></p>
</article>
</section>
<section class="main-section" id="Variables">
<header>
<font>Variables</font>
</header>
<p>You use variables as symbolic names for values in your application. The names of variables, called identifiers,
conform to certain rules.</p>
<p>You use variables as symbolic names for values in your application. The names of variables, called identifiers,
conform to certain rules.</p>
<p>A JavaScript identifier must start with a letter, underscore (_), or dollar sign ($); subsequent characters can
also be digits (0-9). Because JavaScript is case sensitive, letters include the characters "A" through "Z"
(uppercase) and the characters "a" through "z" (lowercase).</p>
<p>A JavaScript identifier must start with a letter, underscore (_), or dollar sign ($); subsequent characters can
also be digits (0-9). Because JavaScript is case sensitive, letters include the characters "A" through "Z"
(uppercase) and the characters "a" through "z" (lowercase).</p>
<p>A JavaScript identifier must start with a letter, underscore (_), or dollar sign ($); subsequent characters can
also be digits (0-9). Because JavaScript is case sensitive, letters include the characters "A" through "Z"
(uppercase) and the characters "a" through "z" (lowercase).</p>
<p></p>
<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>
</section>
</main>
</body>
</html>