JavaScript is a client scripting language used to create web pages. It is a stand-alone language developed in Netscape. It is used when a web page needs to be made dynamic and add special effects to pages such as hover, roll out, and many types of graphics and features.