+ 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 RĂ©ponses
+ 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.