Home

Java Script

JavaScript (JS) is a dynamic computer programming language.It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter thedocument content that is displayed.It is also being used in server-side programming, game development and the creation of desktop and mobile applications.

JavaScript was formalized in the ECMAScript language standard and is primarily used as part of a web browser (client-side JavaScript). This enables programmatic access to computational objects within a host environment.

codes

Below is a minimal example of a standards-conforming web page containing JavaScript (using HTML 5 syntax) and the DOM:

<!DOCTYPE html>
 
<meta charset="utf-8">
<title>Minimal Example</title>
 
<h1 id="header">This is JavaScript</h1>
 
<script>
    document.body.appendChild(document.createTextNode('Hello World!'));
 
    var h1 = document.getElementById('header'); // holds a reference to the <h1> tag
    h1 = document.getElementsByTagName('h1')[0]; // accessing the same <h1> element
</script>
 
<noscript>Your browser either does not support JavaScript, or has it turned off.</noscript>

 

HTML
CSS
JAVA
 
 
 
 
 
 
 
 
 
 
 
 
 
Joemar Mendoza
[email protected]