Fill in the blanks to select all siblings of the div element and call the hide() method on them. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Fill in the blanks to select all siblings of the div element and call the hide() method on them.

Please give the answer

20th Jan 2021, 12:53 PM
Ariful Islam Antu
Ariful Islam Antu - avatar
3 Answers
+ 1
var items = $("div"). siblings (); items .hide();
16th Apr 2021, 7:45 PM
Obada Alhawjreh
Obada Alhawjreh - avatar
+ 1
Fill in the blanks to hide all paragraphs upon clicking the div element. $("div"). click (function() { $(" p "). hide (); });
10th Sep 2022, 6:30 PM
MD MAHMUD HASAN
0
Search for it using Google like how to select all siblings of an element or go through the lesson again.
20th Jan 2021, 1:01 PM
Abhay
Abhay - avatar