Banner

Javascript Introduction

Javascript is a scripting language that is used to make changes on client side browsers as the user interacts with the web page. Javascript can also live on the server. But for now we will concentrate the clients side, in your browser.

Javascript  is embedded into the HTML. One use of Javascript is form validation. As the user inputs their details Javascript watches, if they type something incorrectly, perhaps a letter in a numbers field, Javascript will let them know they have made a mistake. By using Javascript the user gets instance feedback about the correctness of the form as they fill it out. This saves time.

Javascript is great at doing local updates to your browser with out going to the server. This means the Browser does not have to communicate with the remote server which saves time.