NEW
Font size
WorksheetsJavaScript
Total questions: 25
Worksheet time: 12mins
With jQuery, you can hide and show HTML elements with the hide() and show() methods?
True
False
Which of the following ways is correct JQuery Hide() Syntax ?
$.Hide()
$("#hide").click(function(){
$("p").hide(); });
None of the above
The optional callback parameter is a function to be executed after the hide() or show() ____________.?
Normal
method completes
None of the above
You can also toggle between hiding and showing an element with the ______?
Animation
Picture
toggle() method
Which of the following is the correct syntax of toggle() effects in JQuery?
$("button").click(function(){
$("p").toggle(); });
.("p").toggle();
None of the above
These type of operators are found within equations to perform different types of calculations.
Logic Operators
Arithmetic Operators
Comparison Operators
Boolean Operators
This data type consist of a string of characters the create words, phases, sentences, etc.
String
int
char
float
This programming concept allows programmers to create storage for data?
Control Strucutures
Variables
Selection Structures
Logic Operators
This operator assigns values. It also looks like an equal sign.
The boolean operator
The selection structure
The assignment operator
The logic operator
If I were found guilty of creating variables and giving them names, what would I be guilty of?
Being crazy
Initializing variables
Declaring variables
Hacking the system
This operator compares values, and will only return true if the two values are equal to each other.
&& (and)
|| (or)
!= (not equal)
= = (equal to)
What is this operator: " %"?
Using the Boolean Operator "||" (OR) in a search will broaden your results and produce more hits.
True
False
Using the Boolean Operator "&&" (AND) will broaden your results and produce more hits.
True
False
