JavaScript is a scripting language that works with HTML to enhance web pages and make them more interactive.What is a scripting language? A script is made up of a sequence of statements that give instructions for the computer to perform certain tasks, for examples, like providing a response to the users, to play a song, to start a slide show, to display certain advertisements and so on. JavaScript can turn a web page into a lively interactive platform for the world wide web users! JavaScript is a scripting language for HTML. By using JavaScript , you can add sound, date, time, change the color of the web page according to certain day, prevalidate data entered into a form by the user before it is sent to the server, search through a database, set options based on users preferences and much more.
Read on by following the link below:
http://javascript-tutor.net/index.php/lesson-1-introduction-javascript/