Multiple Choice
6. What the extension of the file that contains the : 1321058.
Multiple Choice
6. What is the extension of the file that contains the jQuery library?
a.?.htmlb.?.css
c.?.jsd.?.jq
7. Why would you link to a jQuery file on a CDN??
a.?It’s the only way to ensure that you’re using the most current version.
b.?It can provide an improved user experience.
c.?It’s cheaper than linking to a file on your own web server.
d.?It’s the only way to include the library in your web documents.
8. Every jQuery statement begins with which character??
a.?$b.?.
c.d.?#
9. In a jQuery statement, a reference to the elements on which the statement operates is contained in ____.?
a.?{ }b.?[ ]
c.?< >d.?( )
10. To select elements in jQuery, you specify a(n) ____.?
a.?CSS selectorb.?getElementById() method
c.?arrayd.?JSON string
11. Which of the following is NOT an acceptable value for referencing the element(s) on which a jQuery statement operates??
a.?a variableb.?a CSS selector
c.?a JavaScript methodd.?the this keyword
12. Which character do you use to append a jQuery method to code that selects elements??
a.?:b.?.
c.?-d.?=
13. The ____ method changes the selection to the sibling element immediately following each selected element.?
a.?next()b.?last()
c.?previous()d.children()
14. The ____ method selects the child elements of each element matched by the main selector.?
a.?next()b.?last()
c.?previous()d.children()
15. The ____ method adds specified class name(s) to the selection.?
a.?height()b.?addClass()
c.?width()d.val()
Multiple Choice
6. What the extension of the file that contains the : 1321058