3) List some of the advantages of JavaScript.

Some of the advantages of JavaScript are:

Server interaction is less
Feedback to the visitors is immediate
Interactivity is high
Interfaces are richer