I made a carousel and used the javascript setInterval() function to rotate the image at a fixed interval in the carousel. Here is the script I used
var timeOut = 4000; function showSlide() {
Now the problem is that I changed the browser tab and after a few minutes returned to the carousel browser, and what I saw was that the carousel was working too fast, and not by default, the images were changing, quickly changing 0 time intervals. Please help me how can I figure this out.
source share