Create a slider with the arrow keys and with the mouse click

0

How to pass slides with the keys without this repetition effect happening with setInterval , when I have the mouse on the container and at the same time I press the key to go to through the images

This is the codepen link

The arrowKeys function I did to move the images with the keys does not work very well, a strange effect happens, I imagine it has to do with the setInterval .

    
asked by Alain Barrios 17.07.2018 в 17:08
source

0 answers