0% found this document useful (0 votes)
2 views

ICT 8 - Java Language

JavaScript (JS) is a scripting language that enhances web interactivity, allowing users to engage with web pages. Created by Brendan Eich in 1995, it has undergone several name changes before settling on JavaScript. The document also outlines how to create JavaScript files, including internal and external classifications, as well as the basic structure of JavaScript code.

Uploaded by

zymonreijuarez
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

ICT 8 - Java Language

JavaScript (JS) is a scripting language that enhances web interactivity, allowing users to engage with web pages. Created by Brendan Eich in 1995, it has undergone several name changes before settling on JavaScript. The document also outlines how to create JavaScript files, including internal and external classifications, as well as the basic structure of JavaScript code.

Uploaded by

zymonreijuarez
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Diocesan Catholic Schools System of

San Pablo
LICEO DE CAVINTI

ICT 8
JAVAScript
JavaScript or sometimes
called “JS” is a scripting
language that makes
the web pages
interactive.
It makes the web pages
more dynamic by
allowing users to
interact with webpages,
click on elements, and
change the pages.
JavaScript was created
by Brendan Eich in
1995 during his time at
Netscape
Communications, which
is now Mozilla.
Originally, it was named
Mocha-a name chosen
by Marc Andreessen,
founder of Netscape
In September 1995, the name was changed to LiveScript, then
in December of the same year, upon receiving a trademark
license from the Sun, the name Java Script was adopted.
Sun began the development of Java in 1990 in attempt to write
a language for “smart appliances”. This approach floundered
and in 1994, Sun regrouped and set their sights on the web as
the delivery platform if choice.
Getting started with a
JavaScript File
Similar to HTML and CSS, JavaScript
does not require any special program
or tools.
The Notepad is one of the simplest
text editors already available in the
computer but you can also try other
text editors on the Internet
Creating JavaScript
In a Notepad
Classifications of JavaScript
codes
Internal JavaScript
A JavaScript syntax is placed anywhere within
the webpage between the HTML tags. Most
often, it is paced in the <body> and <head>
section of HTML tags.
The syntax is inserted between the <script>
and </script> tags. This script loads faster
than pages that must reference external code.
External JavaScript
A JavaScript syntax is placed in a file separate
from the HTML code. It is saved with a “.js”
file extension.
The webpage
must have the
following HTML
referencing the
script:
JavaScript Structure
The structure of a JavaScript is composed of a
program, syntax, and statement. A computer
has a list of instructions to be performed by
the computer.

The syntax is the set of rules how JavaScript


are constructed are constructed, and specific
instructions are called STATEMENTS.
PROGRAM

STATEMENTS SYNTAX

You might also like