It allows programming to be performed without server interaction.
It can respond to events, such as button clicks.
It can validate data before sending out a request.
It can adjust an HTML document for special effects
It can create cookies! Cookies can be used to store and retrieve information from the user’s computer.