JavaScript is the most commonly used scripting language, created for making html-pages live. It is a high-level, dynamic, lightweight, and interpreted programming language. It is used commonly in combination with HTML and CSS.

Generally, JavaScript is used to add dynamic function to HTML. It can do things that HTML cannot do and even can change the HTML dynamically. Furthermore, it can manipulate the HTML itself.