How do you write "Hello World" in an alert box?
Creating the “Hello, World! of Slight Book.” Program
The first way that we can write this program is by using the alert() method, which will display an alert box over your current window with a specified message (in this case, it will be “Hello, World! of Slight Book.”) and an OK button that will allow the user to close the alert.
Within the method, we will pass the string data type as the parameter. This string will be set to the value Hello, World! so that that value will be printed to the alert box.
alert("Hello, World! of Slight Book.");
What is the correct syntax for referring to an external script called "xxx.js"?