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>
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