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 Odpowiedź
+ 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