Why We Javascript
Netscape quickly realized that the Web needed to become more dynamic. Even if you simply wanted to check that users entered correct values in a form, you needed to send the data to the server in order to give feedback.
Speaking JavaScript O'Reilly Media, https://exploringjs.com/es5/ch04.html