JavaScript
JavaScript is a object-based scripting language. It is light weighted. Using HTML we can only design a web page but you can not run any logic on web browser like addition of two numbers, check any condition, looping statements (for, while), decision making statement (if-else) at client side. All these are not possible using HTML So for perform all these task at client side you need to use JavaScript.
Born JavaScript
It is first implemented by Netscape (with help from Sun Microsystems). Javascript was created by Brendan Eich at Netscape in 1995 for the purpose of allowing code in webpages
Prerequisites
Before learning of JavaScript you must be basic knowledge of C Language (mainly looping and conditional statements concept), and also knowledge of Html. Knowledge of looping and conditional statements concept in C language is required because JavaScript is used for perform logical operation of client side.