It is an object-based scripting language, lightweight, and it is designed for cross-platform working. It is also interpreted programming language.
It can be written within any part of HTML document with the help of script tag.
document.getElementById(“demo”).innerHTML=“It is a scripting language.”
- Less server interaction
- Immediate feedback
- Rich interfaces
- Form validation
- Dynamic drop down menu
- Display date and time
- Dialog box
- Animation effect on the web pages
- Display popup windows