Menu
Is it possible to run 2 functions on setInterval one after the other with some delay and then repeat?
So far I have tried this but it doesnt work
“`
const repeatAnimation = () => {
forwardAnimation();
setTimeout(reverseAnimation, 250);
};
preloaderLogo.setInterval(repeatAnimation(), 250);