- 3
Fill in the blanks to select all siblings of the div element and call the hide() method on them.
Please give the answer
3 Antworten
+ 1
var
items = $("div").
siblings
();
items
.hide();
+ 1
Fill in the blanks to hide all paragraphs upon clicking the div element.
$("div").
click
(function() {
$("
p
").
hide
();
});
0
Search for it using Google like how to select all siblings of an element or go through the lesson again.