Exam 13: Programming Web Pages With Javascript

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

A(n) property is a JavaScript instruction that performs an action._________________________

Free
(True/False)
4.9/5
(33)
Correct Answer:
Verified

False

The value property refers to the current value of a form field or an object property.

Free
(True/False)
4.9/5
(32)
Correct Answer:
Verified

True

The addEventListener method is commonly used to access the element specified by a CSS selector.

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

False

The assignment operator is simply a question mark (?).

(True/False)
5.0/5
(38)

The querySelector() method is a child of the __________ object.

(Short Answer)
4.9/5
(32)

A common method for changing an element's CSS styles in response to a user's actions is to add or remove ID values from the element in response to events._________________________

(True/False)
4.8/5
(32)

The __________, which is part of the developer tools in a modern web browser, can be used to enter test code and view error message related to JavaScript.

(Multiple Choice)
4.9/5
(41)

The __________ object is the parent element of the DOM tree.

(Multiple Choice)
4.9/5
(33)

Every JavaScript statement ends with a(n) __________.

(Multiple Choice)
4.8/5
(47)

Case-Based Critical Thinking Question Patrice is creating JavaScript code for her website. Her first task is to reference several HTML elements. -Patrice can reference HTML elements in JavaScript using the __________ method.

(Multiple Choice)
4.9/5
(43)

  -Referring to the figure above, which of the following is a variable name used in the code shown? -Referring to the figure above, which of the following is a variable name used in the code shown?

(Multiple Choice)
4.9/5
(38)

Using comparison operators, you can create a(n) __________ statement, in which two values are compared and if the result is true, one or more statements are executed.

(Multiple Choice)
4.8/5
(38)

Matching Match each commonly used JavaScript property with the appropriate description. -the text content of an object, excluding any nested HTML tags

(Multiple Choice)
4.9/5
(35)

To call a function in response to a user action, a developer creates a(n) object listener._________________________

(True/False)
4.9/5
(32)

​    -Referring to the figure above, the code addressState.textContent === CO is a(n) __________. -Referring to the figure above, the code addressState.textContent === "CO" is a(n) __________.

(Multiple Choice)
4.9/5
(42)

Each item in the DOM tree--including elements, attributes, and text content--is known as a(n) __________.

(Short Answer)
4.8/5
(40)

Whenever you use a method, you specify its parent object first, followed by a space and then the method name.

(True/False)
4.8/5
(33)

What kind of information can you store in a variable? How are variables useful when creating object references, and why?

(Essay)
4.8/5
(40)

Case-Based Critical Thinking Question Alicia wants to increase the sizes of images on her website in response to users moving the mouse pointer over them. To add this feature, she plans to use JavaScript. -Alicia can change the CSS styles of the image with the mouse pointer over it by changing the element's __________ property with JavaScript to add or remove class values from the element.

(Multiple Choice)
4.9/5
(37)

​ ​ ​ ​    -Referring to the figure above, the word addEventListener is an example of a(n) __________. -Referring to the figure above, the word addEventListener is an example of a(n) __________.

(Multiple Choice)
4.7/5
(34)
Showing 1 - 20 of 75
close modal

Filters

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