How to save the result to addEventListener?

0 like 0 dislike
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
asked by | 16 views

1 Answer

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