Chp14 Web Dev

24 July 2022
4.7 (114 reviews)
24 test answers

Unlock all answers in this set

Unlock answers (20)
question
JavaScript can be described as:
answer
an object-oriented scripting language
question
3. In the context of web page interactivity, an _________ can be described as an action taken by the user.
answer
event
question
Select the technology that was developed by a joint effort between Netscape and Sun Microsystems.
answer
JavaScript
question
The _______ defines every object and element on a web page.
answer
Document Object Model
question
Select the valid JavaScript variable name below:
answer
myName
question
A ______ is an attribute or characteristic of an object.
answer
property
question
A _____ is an action that can be performed with an object
answer
method
question
A ______ is a reusable block of JavaScript statements.
answer
function
question
How many scripts can be embedded in an XHTML document?
answer
As many as you need
question
The __________ event handler is triggered when the visitor places their mouse on an object.
answer
onmouseover
question
The _____ method displays a message to the user and contains one button.
answer
alert()
question
Use the ____________ method to write text to a web page
answer
document.write()
question
The _______________property can set the background color of the document.
answer
document.bgcolor
question
A function can ______ a value to indicate success or failure.
answer
return
question
Select the comparison operator to use when testing a condition for equality.
answer
==
question
Which of the following will assign the value "Smith" to the variable customerName?
answer
customerName = "Smith";
question
The code to access the contents of an input box named email on a form is
answer
document.forms[0].email.value
question
A __________ is a term used to describe a select list that allows the user to select an option to load another web page.
answer
jump menu
question
An appropriate use of JavaScript is:
answer
form validation, sending email.
question
jQuery is
answer
a free open-source JavaScript library
question
Select the jQuery code that will set the background color of all li elements to green.
answer
$('li').css('background-color', 'green');
question
When using jQuery, what is used to determine when the web page's DOM has been fully loaded by the browser?
answer
$(document).ready()
question
Which jQuery method has the purpose of getting or setting the value of an HTML attribute?
answer
attr()
question
The jQuery library is available online through a ______
answer
CDN