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 .