+ 1
Don't understand y this code doesn't work...
I have an event listener('click'). When I click on the element, it doesn't work. (Js starts Line 14.) I spent hours and hours switching things and experimenting to figure out the problem, It makes no sense y it Isn't working. https://code.sololearn.com/W47IQML5u7ri/?ref=app
3 Respostas
+ 2
Ginfio , without showing your code it's hard to guess.
+ 2
Your event listener won‘t trigger, because of the overlaying „bubbles“ div-container. If you set the z-index value of „bubbles“ to -1, the click-event works fine.
0
TheWh¡teCat Ya, i just forgot to do that, if u reload, you'll see the code.