Imp JQuery
Imp JQuery
Answer: b) A function
Answer: a) $("#myElement")
Answer: b) .hide()
Answer: a) $(".element").addClass("newClass")
6. Which jQuery function allows you to execute code when the document is
fully loaded?
Answer: b) .ready()
Answer: a) .show()
8. How can you change the text of an HTML element using jQuery?
9. Which jQuery method is used to get or set the value of an input field?
Answer: c) .val()
10. How can you append a new element to the end of an existing element using
jQuery?