What is Javascript ?
- an object-oriented computer programming language commonly used to create interactive effects within web browsers.
- is built right into all the major web browsers, including Internet Explorer, Firefox, Chrome and Safari.
- it should be included in an HTML (Hypertext Markup Language) file.
Brief History
- should not be confused with Java.
- was created in 10 days in May 1995 by Brendan Eich, then working at Netscape
and now of Mozilla.
Brief History
- in 1996 - 1997 JavaScript was taken to ECMA to carve out a standard specification.
- after the standardization it was named Ecmascript, with JavaScript being the most well known of the implementations.
- Javascript was not always known as Javascript: the original name was Mocha, a name chosen by Marc Andreessen, founder of Netscape. In September of 1995 the name was changed to LiveScript, then in December of the same year, upon receiving a trademark license from Sun Microsystem, the name Javascript was adopted.
Websites that uses Javascript
Javascript browser supports
Levels of Programming Languages
Low Level
Mid Level
High Level
- Assembly
- C
- Javascript, Java, Python, Ruby, PHP
Sample Code
<html>
<head>
<title>Javascript Sample Code</title>
</head>
<body>
<button onclick="clickMe( )">Click Me</button>
<script>
function clickMe () {
alert( "Thank you for clicking !!!" )
}
</script>
</body>
</html>
Javascript Libraries
- is a library of pre-written Javascript which allows for easier development of JavaScript-based applications, especially for AJAX and other web-centric
technologies.
- Some of the popular Javascript libraries
* Jquery
* AngularJS (Google)
* ReactJS (Facebook)
* Backbone
* Ember
Javascript Demo
By Geoff Diaz
Javascript Demo
- 763