Q.1
The "#" is used to select an html element by its:
  • class
  • id
  • name
  • data attribute
Q.2
Which of the following is selected by $('#bar')?
  • <div class='bar'></div>
  • <p data-bar='bar'></p>
  • <h1>bar</h1>
  • <img id='bar'></img>
Q.3
RemoveClass() - Removes one or more classes from the _________?
  • removeclass
  • selected elements
  • Both A & B
  • None of these
Q.4
The jQuery animate() method is used to create custom animations.?
  • True
  • False
Q.5
Which of the following ways is correct Syntax of Jquery animate() ?
  • $(selector).animate({params},speed,callback);
  • $(selector).fadein(speed,callback);
  • $(selector).animate(speed,callback);
  • All of above
Q.6
Which sign does jquery use as a shortcut for jquery?
  • ( # ) sign
  • ( & ) sign
  • ( $ ) sign
  • ( * ) sign
Q.7
The hover() method takes two functions and is a combination of the ______?
  • mouseclick() methods.
  • mouseenter() and mouseleave() methods.
  • None of the above
  • All of above
Q.8
JQuery provides a variety of methods that allow us to traverse the DOM.?
  • True
  • False
Q.9
Which of the following is the correct syntax of Stop() in JQuery?
  • $(selector).stop(stopAll,goToEnd);
  • flex-wrap: no-wrap;
  • Both A & B
  • None of these
Q.10
Which of the following ways is correct JQuery Event Syntax ?
  • $("p").click(function(){ // action goes here!! });
  • $("p").openALl(function(){}
  • Both A & B
  • None of these
Q.11
Which of the following is the correct form to create to hide elements in Jquery and select the element?
  • $(document).ready(function(){ $("button").click(function(){ $("p").hide(); });});
  • flex-wrap: no-wrap;
  • None of the above
Q.12
Which of the following ways is correct JQuery Hide() Syntax ?
  • $.Hide()
  • $("#hide").click(function(){ $("p").hide(); });
  • Both A & B
  • None of these
Q.13
The last() method returns the last element of the ____________.?
  • last elements
  • specified elements
  • None of the above
  • All of above
Q.14
AddClass() - Adds one or more classes to the____________.?
  • selected classes.
  • selected elements
  • None of the above
  • None of these
Q.15
It is also possible to define relative values ______?
  • The Text is shown normal.
  • (the value is then relative to the element's current value)
  • The value is then relative
  • None of these
Q.16
How do you assign a variable that calls a function with a.run();
  • var a = var run: function() { };
  • var a = run: function() { };
  • var a = run = function() { };
  • var a = { run: function() { } };
Q.17
Which sign does it use as a shortcut for Modulus in JS?
  • =
  • /
  • %
  • $
Q.18
Profile cards are like photos with captions of.
  • msg
  • Variable lengths
  • None of the above
  • None of these
Q.19
How to Write Jquery Comments?
  • <!--this is a comment -->.
  • <-- this is a comment -->
  • // this is a comment //
  • None of these
Q.20
Which of the following ways is the correct Syntax of the .focusout() method in JQuery ?
  • $("div").focusout();
  • $("div").fade();
  • Both A & B
  • None of these
0 h : 0 m : 1 s