The main advantages of the language include:
It allows creation of interfaces that improve the interactive experience for the user. For instance, an interface can react when the user hovers over it with a mouse or presses certain keys from their keyboard.
Users get immediate feedback after entering data. There is no need of waiting for reloading of a page to see if you have forgotten to enter anything.
Limitations of the language