Introduction to JavaScript

JavaScript developed by Netscape in 1995. JavaScript is structured language much similar to ‘C’ language. Today JavaScript is
essential and popular language.

What is JavaScript?

JavaScript language is scripting language and known to all major browsers like IE, Mozilla, Chrome, Safari, and Opera. This language used
for client side scripting. It executes at client side i.e. into browser.

What JavaScript provides?

Client side events:

JavaScript supports client side events of an HTML element. For example, button is clicked, page finished loading.

JavaScript can interact with elements:

JavaScript can access, change content of element.

Validate user input:

JavaScript makes easy to validate the user input at client side. We can save call to server. We can make page more interactive using

To run JavaScript code, you need browser which supports JavaScript.