jQuery MCQ Test: jQuery MCQs - Practice Questions
1. What is the purpose of the jQuery `slideDown()` method?
2. How do you select all elements that do not have a specific class in jQuery?
3. What is the purpose of the jQuery `wrap()` method?
4. Which jQuery method is used to stop all animations on the matched elements?
5. How can you select all elements with the class 'example' in jQuery?
6. In jQuery, what does the `prop()` method do?
7. In jQuery, what is the purpose of the `Deferred` object?
8. What is the purpose of the jQuery `slideUp()` method?
9. Which jQuery method is used to execute a function for each element in the set of matched elements, but in reverse order?
10. How can you dynamically create elements and add them to the DOM using jQuery?
11. What event handler is used to execute a function when the document is fully loaded?
12. Which jQuery method is used to perform an animation with a callback function?
13. What does the jQuery `detach()` method do?
14. Which jQuery method is used to set the HTML content of an element?
15. Which jQuery method is used to delay the execution of functions in the queue?
16. What is the purpose of the jQuery `map()` method?
17. Which jQuery method is used to create a new element?
18. Which jQuery method is used to add a click event handler to an element?
19. What is the purpose of the jQuery `fadeOut()` method?
20. How do you select all elements with the attribute 'data-role' in jQuery?