JavaScript is THE scripting language of the Web

The most common way to communicate with user in JavaScript is to use the document.write() method. Another method to get the user’s attention is to use the alert() method. Its purpose is to display a special dialog box to alert the user that an expected event has occurred or some kind of user input is required. ................
................