Sail E0 Webinar

MCQs

Total Questions : 50 | Page 2 of 5 pages
Question 11. Which of the following is selected by $('
  1.    Foo
 Discuss Question
Answer: Option D. ->
Question 12. The following is correct syntax for CSSp { color: red; }
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 13. When would the following code be run$(function() {});
  1.    When the user requests the page
  2.    When the user pushes a button
  3.    After all the elements are loaded
  4.    Never
 Discuss Question
Answer: Option C. -> After all the elements are loaded
Question 14. Which of these CSS selectors would select all of the <img> tags in a <div>
  1.    img div
  2.    img.div
  3.    div img
  4.    div.img
 Discuss Question
Answer: Option C. -> div img
Question 15. What is the correct jQuery code to set the background color of all p elements to red?
  1.    $ ("p"). manipulate ("color de fondo", "rojo");
  2.    $ ("p"). style ("color de fondo", "rojo");
  3.    $ ("p"). css ("color de fondo", "rojo");
  4.    $ ("p"). layout ("color de fondo", "rojo");
 Discuss Question
Answer: Option C. -> $ ("p"). css ("color de fondo", "rojo");
Question 16. What scripting language is jQuery written in?
  1.    VBScript
  2.    JavaScript
  3.    C++
  4.    C#
 Discuss Question
Answer: Option B. -> JavaScript
Question 17. JQuery parents() Method returns all ancestor elements of the ____________
  1.    class
  2.    selected elements
  3.    None of the above
 Discuss Question
Answer: Option B. -> selected elements
Question 18. What is the correct way to call the jquery library in HTML?
 Discuss Question
Answer: Option B. -> selected elements
Question 19. Look at the following selector: $ ("p # intro")
  1.    remove()
  2.    detach()
  3.    Ambos métodos pueden ser utilizados
  4.    None of these
 Discuss Question
Answer: Option A. -> remove()
Question 20. Which of the following ways is the correct Syntax of the first() method in JQuery ?
  1.    $(selector).fadein(speed,callback);
  2.    $("div").first();
  3.    None of the above
 Discuss Question
Answer: Option C. -> None of the above

Latest Videos

Latest Test Papers