JavaScript Quiz

Question 1 to 5:

1. Inside which HTML element do we put the JavaScript?

2. Where is the correct place to insert a JavaScript?

3. What is the correct syntax for referring to an external script called "xxx.js"?

4. How do you write "Hello World" in an alert box?

5. How do you create a function in JavaScript?