JQuery Quiz

 

Results

#1. Look at the following selector: $(“div”). What does it select?

#2. The jQuery html() method works for both HTML and XML documents

#3. What is the correct jQuery code to set the background color of all p elements to red?

#4. With jQuery, look at the following selector: $(“div.intro”). What does it select?

#5. Which jQuery method is used to set one or more style properties for selected elements?

#6. Which jQuery method is used to perform an asynchronous HTTP request?

#7. Which statement is true?

#8. Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?

#9. Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?

#10. Look at the following selector: $(“div p”). What does it select?

#11. Which jQuery method is used to remove selected elements?

#12. Look at the following selector: $(“:disabled”). What does it select?

Previous
Finish