16. The ____ method retrieves the value of the first element : 1321059.
16. The ____ method retrieves the value of the first element in the selection, or sets the value of the selected elements.?
a.?height()b.?addClass()
c.?width()d.val()
17. Some jQuery animation methods allow you to specify the keywords ____ to set the speed of the animation.?
a.?slow and fastb.??tortoise and hare
c.??stop and god.??walk and run
18. jQuery includes a(n) ____ method that allows jQuery code to coexist with code for another library that uses the same alias.?
a.?alias()b.?sharedAlias()
c.?conflict()d.noConflict()?
19. Which jQuery method narrows the group of selected elements to the first element??
a.?previous()b.?next()
c.?first()d.?last()
20. Which jQuery method narrows the group of selected elements to the last element??
a.?previous()b.?next()
c.?first()d.?last()
21. Which jQuery method do you use to add a class name to one ore more selected elements? ?
a.?html()b.?removeClass()
c.?addClass()d.?clone()
22. What action does a jQuery event method perform if it is called with empty parentheses??
a.?It fires the indicated event.
b.?It removes any matching event listener on the selection.
c.?It creates an event listener on the window object.
d.?It does nothing.
23. Which is the correct syntax to create a function that uses jQuery??
a.?$.function name() {}b.?$(name()).function {}
c.?$(function) name() {}d.?function name() {}
24. ?Which is an advantage of using jQuery animation methods rather than coding animations yourself in JavaScript?
a.?Coding the animations yourself might require writing and debugging many lines of JavaScript.
b.?The jQuery animation effects cannot be created with plain JavaScript.
c.?You cannot select certain web page elements without using jQuery.
d.?There is no particular advantage to using one or the other.
25. What language is the jQuery library written in? ?
a.?PHPb.?HTML
c.?JavaScriptd.?CSS
16. The ____ method retrieves the value of the first element : 1321059