Home > Articles

  • Print
  • + Share This
This chapter is from the book

Quiz Questions

Test your knowledge of JavaScript by answering the following questions:

  1. A script that executes when the user clicks the mouse button is an example of what?

    1. An object
    2. An event handler
    3. An impossibility
  2. Which of the following are capabilities of functions in JavaScript?

    1. Accept parameters
    2. Return a value
    3. Both of the above
  3. Which of the following is executed first by a browser?

    1. A script in the <head> section
    2. A script in the <body> section
    3. An event handler for a button
  • + Share This
  • 🔖 Save To Your Account