Html     Css    JavaScript    Php               
Home
  

JavaScript is a lightweight, interpreted programming language

JavaScript integrated with HTML, so very easy to implement

Javascript is a dynamic computer programming language

Overview of JavaScript

JavaScript is a lightweight, interpreted programming language. JavaScript is designed for creating network-centric applications. It is complimentary to and integrated with Java. JavaScript is very easy to implement because it is integrated with HTML language. It is open and cross-platform.

JavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.

 

Example

<script>
function myFunction() {
    var x = document.getElementById("demo");
    x.style.fontSize = "23px";
    x.style.color = "green";
}
</script>
Run the file »

Why Learn JavaScript

JavaScript is one of the 3 languages all web developers must learn

    1. HTML to define the content of web pages

    2. CSS to specify the layout of web pages

    3. JavaScript to program the behavior of web pages

 

Example

<script>
    document.write("Hello world");
</script>
Run the file »