Exam 11: Working With Events and Styles Tutorial

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Identify the correct charCode values for the keys "1, 9" on the top row of the keyboard when the keyup and keydown events occur.

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

A

The evt.eventPhase returns the object that is currently experiencing the event.

Free
(True/False)
4.8/5
(38)
Correct Answer:
Verified

False

Which of the following event object methods prevents other event listeners of the event from being called?

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

A

Which of the following syntaxes displays a dialog box, causing the user to enter input text?

(Multiple Choice)
4.9/5
(39)

Identify the event handler that does not recognize the propagation of the events through capture and bubbling phases.

(Multiple Choice)
4.7/5
(35)

Which of the following keyboard event properties returns the text of the key used in the event?

(Multiple Choice)
4.7/5
(36)

Which of the following JavaScript expressions is equivalent to the given HTML code?

(Multiple Choice)
4.8/5
(42)

The mouseout event indicates the movement of a mouse pointer onto an element.

(True/False)
4.9/5
(37)

The evt.pageY property returns the vertical coordinate (in pixels) of the mouse pointer relative to the document.

(True/False)
4.8/5
(40)

The event property evt.key returns the text of the key used in the event.

(True/False)
4.8/5
(35)

William wants to create a dialog box in his website to display the message "My name is William". Which of the following syntaxes must William use to display the message?

(Multiple Choice)
5.0/5
(52)

Discuss the challenges and features of anonymous functions.

(Essay)
4.7/5
(38)

Identify the syntax to add an event listener to an object.

(Multiple Choice)
4.8/5
(34)

Identify a true statement about a function in JavaScript.

(Multiple Choice)
4.8/5
(36)

John has created an object called Pines. He wants to change the cursor type to the pointer cursor. Which of the following syntaxes must John use to accomplish this?

(Multiple Choice)
4.8/5
(43)

Which of the following statements is true about the evt.screenX mouse event?

(Multiple Choice)
4.8/5
(39)

Which of the following mouse buttons is pressed if the value of the evt.buttons property is 2?

(Multiple Choice)
5.0/5
(40)

Which of the following mouse event object properties matches the mouse key that is clicked by the player during the game?

(Multiple Choice)
4.8/5
(33)

JavaScript does not support hyphens in property names.

(True/False)
4.9/5
(38)

Which of the following is the syntax to define a cursor in JavaScript?

(Multiple Choice)
4.9/5
(33)
Showing 1 - 20 of 76
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)