User interaction: alert(), prompt(), confirm(). Note: You can try all the code examples in the console log. As mentioned before, any JavaScript code can be executed ...
Throws an alert box within the browser window. The alert() is a Javascript method used to bring the focus away from the underlying web page and constrains the users to watch a message you want to ...