SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Jquery Commands
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Another word for invisible
html
html
transparent
$(document).ready( function( ) {/* your code here */} );
2. Unit of time measure in jQuery commands requiring a time value
milliseconds
html
id selector
var isVisible = $('#myDiv').is(':visible');
3. Test whether an element has a particular class
HTML string
descendent selector
if ( $('#myDiv').is('.pretty') )
$("#some\.id") instead of $("#some.id")
http://www.jquery.com
DOM (Document Object Model)
browser
slideDown
opaque
CSS
var isHidden = $('#myDiv').is(':hidden');
class selector
method
$("#c").attr("checked", "checked");
var myDivElement = $('#myDivId');
if ( $(this).hasClass("protected")
html
concatenation
if ( $('#myDiv').length )
var myValue = $('#myDivId').val();
if not $('#myDiv').show();
$("#myselect option:selected").text();
transparent
$('#myDivId').val("hello world");
*
$("#x").attr("disabled","disabled");
semicolon
dot
John Resig
slideToggle
dollar sign
$
$(document).ready( function( ) {/* your code here */} );
none
id selector
if ( $('#myDiv').is('.pretty') )
viewport
interpreter
$('.myCssClass')
1000
terminator
+
$("#x").removeAttr("disabled");
code block
Write Less
production
selector
developer
$( )
jQuery
$("<selector>").<method>;
milliseconds
node
$("h1").hide();
$('#myDivId')
JavaScript
html
slideUp
$("#c").attr("checked","");
dot
$("img#dog").fadeIn(3000);
<script></script>
var isVisible = $('#myDiv').is(':visible');
4. URL for obtaining jQuery
if ( $('#myDiv').is('.pretty') )
developer
class selector
http://www.jquery.com
5. Both CSS and jQuery use the ____ symbol to specify a class.
developer
var myValue = $('#myDivId').val();
dot
$('#myDivId').val("hello world");
6. 3 types of things that can go into the jQuery function: $( ) - CSS Selector - ________ - and JavaScript object
HTML string
code block
selector
$(document).ready( function( ) {/* your code here */} );
7. Determine the state of a toggled element
milliseconds
semicolon
Write Less
concatenation
html
dot
+
$("#some\.id") instead of $("#some.id")
interpreter
code block
viewport
$
transparent
$(document).ready( function( ) {/* your code here */} );
*
$("#c").attr("checked","");
$('#myDivId').val("hello world");
developer
var isVisible = $('#myDiv').is(':visible');
$("#x").attr("disabled","disabled");
$("h1").hide();
1000
$("<selector>").<method>;
http://www.jquery.com
$("#myselect option:selected").text();
var isHidden = $('#myDiv').is(':hidden');
var myValue = $('#myDivId').val();
selector
<script></script>
$("img#dog").fadeIn(3000);
class selector
$('.myCssClass')
HTML string
$("#x").removeAttr("disabled");
if ( $('#myDiv').length )
$('#myDivId')
production
none
jQuery
John Resig
JavaScript
$("#c").attr("checked", "checked");
slideUp
slideDown
if ( $(this).hasClass("protected")
$( )
CSS
node
dollar sign
slideToggle
method
var myDivElement = $('#myDivId');
id selector
var isVisible = $('#myDiv').is(':visible');
DOM (Document Object Model)
browser
html
descendent selector
if ( $('#myDiv').is('.pretty') )
dot
opaque
terminator
if not $('#myDiv').show();
8. This is the jQuery object. $ ("document").ready(function () { Your Code }); This is where all of jQuery's functionality is accessed from.
$
http://www.jquery.com
viewport
$('#myDivId')
9. A(n) ___ _____ is used to identify a single unique element on a page.
$("#c").attr("checked", "checked");
terminator
id selector
developer
10. One of jQuery's main strengths is that it allows you to work with the ____ without having to know everything about it.
DOM (Document Object Model)
class selector
var myDivElement = $('#myDivId');
*
11. Select an item using id
id selector
dot
slideUp
Write Less
1000
$("#c").attr("checked","");
concatenation
slideDown
$("#some\.id") instead of $("#some.id")
if ( $('#myDiv').is('.pretty') )
code block
dollar sign
+
interpreter
$
browser
none
node
transparent
$("#x").removeAttr("disabled");
production
semicolon
http://www.jquery.com
John Resig
$('#myDivId')
$("#myselect option:selected").text();
if ( $(this).hasClass("protected")
viewport
$("<selector>").<method>;
var myValue = $('#myDivId').val();
descendent selector
var myDivElement = $('#myDivId');
$(document).ready( function( ) {/* your code here */} );
method
jQuery
developer
milliseconds
JavaScript
dot
html
$("h1").hide();
if not $('#myDiv').show();
$('.myCssClass')
var isVisible = $('#myDiv').is(':visible');
if ( $('#myDiv').length )
selector
$('#myDivId')
slideToggle
var isHidden = $('#myDiv').is(':hidden');
$("img#dog").fadeIn(3000);
$('#myDivId').val("hello world");
<script></script>
class selector
CSS
terminator
$("#x").attr("disabled","disabled");
*
html
$("#c").attr("checked", "checked");
opaque
HTML string
$( )
DOM (Document Object Model)
12. Show item if it exists but do nothing (no errors)
concatenation
$("#c").attr("checked", "checked");
html
$('.myCssClass')
$("#myselect option:selected").text();
slideUp
html
dot
$("h1").hide();
var isHidden = $('#myDiv').is(':hidden');
var myDivElement = $('#myDivId');
http://www.jquery.com
DOM (Document Object Model)
var isVisible = $('#myDiv').is(':visible');
browser
slideToggle
$("<selector>").<method>;
if not $('#myDiv').show();
opaque
John Resig
$("#x").attr("disabled","disabled");
JavaScript
*
developer
<script></script>
1000
CSS
$("#x").removeAttr("disabled");
if ( $('#myDiv').length )
code block
node
transparent
none
jQuery
slideDown
$("img#dog").fadeIn(3000);
interpreter
var myValue = $('#myDivId').val();
production
+
class selector
Write Less
HTML string
viewport
$("#some\.id") instead of $("#some.id")
dot
descendent selector
dollar sign
$("#c").attr("checked","");
$('#myDivId').val("hello world");
if not $('#myDiv').show();
selector
terminator
method
$('#myDivId')
if ( $(this).hasClass("protected")
id selector
semicolon
$(document).ready( function( ) {/* your code here */} );
milliseconds
$( )
$
if ( $('#myDiv').is('.pretty') )
13. You know you are dealing with a _____ when you see a set of parenthesis after a keyword
method
transparent
$('#myDivId')
$("h1").hide();
14. The _____ method changes the height property of an element until it is zero and then hides the element.
var myDivElement = $('#myDivId');
html
*
slideUp
15. Name of the symbol used for the jQuery shortcut
milliseconds
$("#some\.id") instead of $("#some.id")
browser
dollar sign
16. A CSS setting that makes sure an element won't show when the page loads: display:______;
$("img#dog").fadeIn(3000);
none
$('#myDivId').val("hello world");
$("#c").attr("checked","");
17. Allows you to select a grouping of elements
slideDown
node
JavaScript
class selector
18. Assign a selected element to a javascript variable
slideToggle
JavaScript
id selector
html
$("#some\.id") instead of $("#some.id")
<script></script>
John Resig
descendent selector
var myDivElement = $('#myDivId');
dot
Write Less
*
developer
var myValue = $('#myDivId').val();
$('#myDivId')
$("#c").attr("checked","");
class selector
$('.myCssClass')
html
transparent
$( )
+
concatenation
semicolon
dot
CSS
$("#myselect option:selected").text();
production
var myDivElement = $('#myDivId');
HTML string
opaque
slideDown
terminator
DOM (Document Object Model)
code block
if ( $(this).hasClass("protected")
$('#myDivId').val("hello world");
slideUp
node
none
selector
browser
$("#c").attr("checked", "checked");
$("h1").hide();
milliseconds
viewport
$("img#dog").fadeIn(3000);
if ( $('#myDiv').length )
dollar sign
var isHidden = $('#myDiv').is(':hidden');
http://www.jquery.com
jQuery
$(document).ready( function( ) {/* your code here */} );
$("#x").removeAttr("disabled");
$
$("<selector>").<method>;
method
1000
interpreter
if not $('#myDiv').show();
$("#x").attr("disabled","disabled");
if ( $('#myDiv').is('.pretty') )
var isVisible = $('#myDiv').is(':visible');
19. Each part of the DOM is called a ________.
if ( $('#myDiv').length )
$('#myDivId')
node
John Resig
20. Enable an element
html
if ( $(this).hasClass("protected")
$("#x").removeAttr("disabled");
developer
21. Stuff between { } is often called a ______
code block
id selector
*
$("#c").attr("checked","");
22. Select an item using class
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
23. jQuery selects elements the same way ____ does
CSS
none
$
Write Less
24. Check an input
dollar sign
http://www.jquery.com
viewport
$("#c").attr("checked", "checked");
25. The ______ is the main window of the browser.
if ( $('#myDiv').is('.pretty') )
CSS
John Resig
viewport
26. Number of milliseconds in a second
terminator
if not $('#myDiv').show();
1000
$("#some\.id") instead of $("#some.id")
27. Wildcard selector in jQuery (selects all elements)
transparent
semicolon
*
id selector
28. Uncheck an input
$('#myDivId').val("hello world");
if ( $('#myDiv').length )
$("#c").attr("checked","");
milliseconds
29. jQuery command to take an image with an id of 'dog' and fade it from transparent to opaque in 3 seconds.
$("h1").hide();
if not $('#myDiv').show();
$("img#dog").fadeIn(3000);
if ( $('#myDiv').length )
30. A ______ is used by jQuery to locate and return an element from the web page
slideToggle
html
none
selector
31. Given: $("div p").hide(); Here the selector is an example of a _________; the parent is on the left and child is on the right
*
http://www.jquery.com
production
descendent selector
32. Another word for visible
dot
opaque
browser
descendent selector
33. Disable an element
if ( $('#myDiv').length )
John Resig
semicolon
$("#x").attr("disabled","disabled");
34. Root of an html document
html
class selector
dot
$("#some\.id") instead of $("#some.id")
35. Syntax for a common jQuery code block that's intended to run when a web page is fully loaded
$(document).ready( function( ) {/* your code here */} );
slideDown
if not $('#myDiv').show();
if ( $('#myDiv').length )
36. Get the value of an element
Write Less
viewport
var myValue = $('#myDivId').val();
transparent
method
html
if ( $('#myDiv').length )
if ( $('#myDiv').is('.pretty') )
1000
DOM (Document Object Model)
$("img#dog").fadeIn(3000);
http://www.jquery.com
$("<selector>").<method>;
dot
$('.myCssClass')
jQuery
slideUp
if ( $(this).hasClass("protected")
html
$("#x").attr("disabled","disabled");
var myDivElement = $('#myDivId');
production
class selector
selector
<script></script>
$("#some\.id") instead of $("#some.id")
dot
$("#c").attr("checked","");
CSS
var isVisible = $('#myDiv').is(':visible');
semicolon
John Resig
developer
slideToggle
dollar sign
id selector
$('#myDivId').val("hello world");
interpreter
if not $('#myDiv').show();
node
opaque
$("h1").hide();
HTML string
terminator
var myValue = $('#myDivId').val();
descendent selector
JavaScript
concatenation
$( )
var isHidden = $('#myDiv').is(':hidden');
code block
*
slideDown
$("#x").removeAttr("disabled");
$("#c").attr("checked", "checked");
+
$('#myDivId')
milliseconds
browser
$
$(document).ready( function( ) {/* your code here */} );
none
$("#myselect option:selected").text();
37. Concatenation symbol in JavaScript
+
node
dollar sign
$(document).ready( function( ) {/* your code here */} );
38. jQuery is written in _____________
$(document).ready( function( ) {/* your code here */} );
$("#x").attr("disabled","disabled");
transparent
JavaScript
39. JavaScript library specialized for complex interactivity and rich visual effects
transparent
$('.myCssClass')
$("#c").attr("checked", "checked");
jQuery
40. The JavaScript ______ translates directions you give it into different actions on the web page
interpreter
var myValue = $('#myDivId').val();
John Resig
id selector
41. Test whether an element exists
var isHidden = $('#myDiv').is(':hidden');
HTML string
opaque
html
concatenation
$("img#dog").fadeIn(3000);
DOM (Document Object Model)
if ( $('#myDiv').length )
if ( $('#myDiv').is('.pretty') )
none
if not $('#myDiv').show();
slideToggle
CSS
node
jQuery
$("#x").removeAttr("disabled");
method
production
$('#myDivId')
if ( $('#myDiv').length )
var isVisible = $('#myDiv').is(':visible');
semicolon
html
dollar sign
interpreter
$
milliseconds
John Resig
dot
code block
*
if ( $(this).hasClass("protected")
JavaScript
browser
http://www.jquery.com
slideDown
$("#c").attr("checked", "checked");
descendent selector
$('.myCssClass')
<script></script>
$('#myDivId').val("hello world");
transparent
$( )
selector
Write Less
$("h1").hide();
$("<selector>").<method>;
id selector
dot
var myDivElement = $('#myDivId');
class selector
var myValue = $('#myDivId').val();
$("#some\.id") instead of $("#some.id")
viewport
$("#myselect option:selected").text();
terminator
$("#x").attr("disabled","disabled");
1000
$("#c").attr("checked","");
+
developer
slideUp
$(document).ready( function( ) {/* your code here */} );
42. Basic jQuery syntax (using shortcut)
production
http://www.jquery.com
$("<selector>").<method>;
$("#c").attr("checked","");
43. Name of the character used to separate a jQuery selector from a jQuery method
descendent selector
dot
$("<selector>").<method>;
html
44. This kind of file builds the structure of the web page
developer
html
JavaScript
$("img#dog").fadeIn(3000);
45. Select an element that has special CSS characters in its ID like '.'
1000
$("#c").attr("checked", "checked");
dot
$("#some\.id") instead of $("#some.id")
46. Name of the symbol that ends a jQuery statement
$('#myDivId').val("hello world");
node
semicolon
dot
47. Get the text value of a selected option
DOM (Document Object Model)
$("#myselect option:selected").text();
$
none
48. The _____ method changes the height property of an element from zero to whatever it's set to in the CSS style.
$("h1").hide();
terminator
selector
slideDown
49. Set the value of an element
slideToggle
*
$("#c").attr("checked", "checked");
html
http://www.jquery.com
$('#myDivId').val("hello world");
interpreter
browser
descendent selector
dot
var isHidden = $('#myDiv').is(':hidden');
var myValue = $('#myDivId').val();
dollar sign
dot
$( )
$
$("#x").attr("disabled","disabled");
$("img#dog").fadeIn(3000);
jQuery
$("<selector>").<method>;
Write Less
viewport
$("h1").hide();
JavaScript
$("#some\.id") instead of $("#some.id")
none
production
id selector
if not $('#myDiv').show();
$("#myselect option:selected").text();
<script></script>
node
html
concatenation
semicolon
1000
$('#myDivId').val("hello world");
CSS
if ( $(this).hasClass("protected")
slideDown
var isVisible = $('#myDiv').is(':visible');
+
slideUp
$('#myDivId')
var myDivElement = $('#myDivId');
if ( $('#myDiv').is('.pretty') )
John Resig
if ( $('#myDiv').length )
opaque
DOM (Document Object Model)
class selector
milliseconds
terminator
$(document).ready( function( ) {/* your code here */} );
transparent
$("#x").removeAttr("disabled");
code block
$("#c").attr("checked","");
selector
$('.myCssClass')
developer
HTML string
method
50. Shortcut for typing: jQuery( )
$( )
<script></script>
$("#c").attr("checked", "checked");
var isVisible = $('#myDiv').is(':visible');
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests