This chapter is from the book
Quiz Questions
Test your knowledge of JavaScript by answering the following questions:
-
A script that executes when the user clicks the mouse button is an example of what?
- An object
- An event handler
- An impossibility
-
Which of the following are capabilities of functions in JavaScript?
- Accept parameters
- Return a value
- Both of the above
-
Which of the following is executed first by a browser?
- A script in the <head> section
- A script in the <body> section
- An event handler for a button