How to save the result to addEventListener?

0 like 0 dislike
16 views
Hello) is of type slider with blocks of different widths. It is necessary that the slider is shifted to the left by the size of the next block, which is not visible in the slider) I made it to do, but it works only 1 time. I understand that you want to save the result and already the next time you click on the arrow to be used with the new value. In General, here's the code
https://jsfiddle.net/mnhz6ys4/
asked by | 16 views

1 Answer

0 like 0 dislike
use the circuit in a loop.
answered by
24,509 questions
45,932 answers
0 comments
346 users