JQUERY QUIZ
1 .
.css(‘width’) and .width() are the two ways to change the width of _________.

Correct Answer : Option (B)

element
  Show Answer
2 .
What is the correct jQuery code to set the background color of all p elements to red?

Correct Answer : Option (A)

$("p").css("background-color","red");
  Show Answer
3 .
With jQuery, look at the following selector: $("div.intro"). What does it select?

Correct Answer : Option (C)

All div elements with class="intro"
  Show Answer
4 .
What will happen by $("#ftllogo").html()

Correct Answer : Option (A)

It will return html from ftllogo id element
  Show Answer
5 .
Look at the following jQuery selector: $("div#intro .head"). What does it select?

Correct Answer : Option (A)

All elements with class="head" inside the first div element with id="intro"
  Show Answer
6 .
How can you get href value from <a href=\"http://www.freetimelearning.com\" id=\"logo\"/>

Correct Answer : Option (C)

$("#logo").attr("href")
  Show Answer
7 .
What does it mean by toggle()?

Correct Answer : Option (D)

Selected element will be hide and show 
  Show Answer
8 .
Which jQuery method is used to hide selected elements?

Correct Answer : Option (D)

hide()
  Show Answer
9 .
The______ method is used to represent an array or an object in serialize manner.

Correct Answer : Option (C)

param()
  Show Answer
10 .
The .each method is the more convenient form of _______ loop.

Correct Answer : Option (B)

for
  Show Answer