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

2. Which event occurs when the user clicks on an HTML element?

3. How do you create a function in JavaScript?

4. The external JavaScript file must contain the < script > tag.

5. How do you call a function named "myFunction"?

6) Select the language that supports OOP?

7) Which of the following is an advantage of using JavaScript?