Javascript is a object oriented client side scripting language to make web pages interactive and dynamic.

Javascript supports all features of C++ or java. But javascript is not same as java, both arre different languages.

JavaScript was originally developed as LiveScript by the Netscape in 1990s. Later It renamed to JavaScript in 1995, and then became an ECMA standard in 1997.

Javascript frameworks –








Polymer Aurelia


Advantages of Javascript –

Easy to learn – Javascript is easy to learn, It’s syntax is easy to understand and Javascript have predefined methods that helps in implementation of Javascript.

Client side language – Javascript code runs on client server instead of web server, so it saves bandwidth and reduces the load on web server.

Intercative web pages – It provides various functionalities that make web pages interactive.

For example – Event call when mouse hover on any element or keyboard key pressed.

Javascript is fast – Because javacript is client side language, so request not sent to the servers that takes time to reach to web server and get back to user with result.

Platform independent – It is platform independent, when you write code on another machine then it will be able to run on another machine.

Javascript Applications

• Client-side validation

• Dynamic drop-down menus

• Displaying data and time

• Displaying pop-up windows and dialog boxes (like alert box, confirm box and prompt box).

• Adding or removing elements from the webpage

Javscript Example –

Simple example to show javascript syntax.
document.write("Hello World");  

In next chapter we will learn how user can implement javascript in program.