Menu
I am building this carousel and I have to bugs.
1.
When you go right after the carousel end the dot gets a while until it is updating. This is because the event is set to ‘transitionend’.
Q. Isn’t there a way I could make it update faster? Is it worth it to ad another eventListener just for that?
When you go left, the same thing happens but then you go left 1 more time the middle dot is not updating either.
Q. Can you please take a look at it? The code for the dots is at the end and I also added some comments.
Please help, I’ve been trying to learn how to code a carousel for 1 week. xd