Help please. I need to do when you click on the *no*, block .b-po was deleted | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Help please. I need to do when you click on the *no*, block .b-po was deleted

Help please. I need to do when you click on the *no*, block .b-po was deleted css .noMobile:focus .b-popup { Display:none; } Html <div class="b-popup"> <div class="b-popup-content"> Are you sure? <ul> <li><a href="Mob.html">yes</a></li> <li><a class="noMob">no</a></li> </ul> </div> </div>

29th Apr 2019, 6:25 PM
Alex
Alex - avatar
1 ответ
+ 10
Use js to grab the *no* block.. U can use document.querySelector(). Then, add an event listener of onclick which will set the display:none to the block .b-po
29th Apr 2019, 8:08 PM
Arushi Singhania
Arushi Singhania - avatar