+ 1
SOLVED | question is for people experienced in js.
this code has 2 types of event listeners (from here EL) syntax: from js & from jquery.i think they do same thing.I wanna to stop executing printLine() by touch using EL with "touchend" event.EL from jquery can't turn off when boolean isKeyPressed is true,js EL does that.line. jquery EL starts on line 26,js EL starts on line 34 why? p.s. try to answer as simple as u can(I'm not very experienced in js) https://code.sololearn.com/WJ5KHZruq8J0/?ref=app
2 Respuestas
0
Could you tell us:
- What line has the working event listener?
- What line has the broken event listener?
- What do you want it to do?
- How is what it’s currently doing differ from what you want?
+ 1
updated