Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
24 Cards in this Set
- Front
- Back
JavaScript can be described as: |
an object-oriented scripting language |
|
Select the true statement from those listed below.Select one:
a. script tags are used to contain JavaScript statements b. script tags can be placed in both the header and the body section of a web page c. all of these statements are true d. script tags are read by the browserFeedback |
all of these statements are true |
|
In the context of web page interactivity, an ________ can be described as an action taken by the user. |
event |
|
Select the technology that was developed by a joint effort between Netscape and Sun Microsystems. |
JavaScript |
|
The ________ defines every object and element on a web page. |
document object model |
|
Select the valid JavaScript variable name below: |
myName |
|
A ________ is an attribute or characteristic of an object. |
property |
|
A ________ is an action that can be performed with an object. |
method |
|
A ________ is a reusable block of JavaScript statements. |
function |
|
How many scripts can be embedded in an XHTML document? |
as many as you need |
|
The ________ event handler is triggered when the visitor places their mouse on an object. |
onmouseover |
|
The ________ method displays a message to the user and contains one button. |
alert() |
|
Use the ________ method to write text to a web page.Select one: a. document.write() b. document.code() c. document.text() d. document.new() |
document.write() |
|
The ________ property can set the background color of the document. |
document.bgcolor |
|
A function can ________ a value to indicate success or failure. |
Return |
|
Select the comparison operator to use when testing a condition for equality. |
= |
|
Which of the following will assign the value "Smith" to the variable customerName? |
customerName = "Smith"; |
|
The code to access the contents of an input box named email on a form is... |
document.forms[0].email.value |
|
A ________ is a term used to describe a select list that allows the user to select an option to load another web page. |
jump menu |
|
Select an appropriate use of JavaScript: |
form validation |
|
jQuery is |
a free open-source JavaScript library |
|
Select the jQuery code that will set the background color of all li elements to green. |
$('li').css('background-color', 'green'); |
|
Which jQuery method has the purpose of getting or setting the value of an HTML attribute? |
attr() |
|
Select the true statement.Select one: a. None of these statements is true. b. All browsers automatically include the jQuery library. c. You need to purchase the jQuery library. d. The jQuery library is available online through a CDN. |
The jQuery library is available online through a CDN. |