Random Quote Generator - setInterval

Hi

I’m working on the random quote generator and decided to have a interval showing of quotes if no button were clicked. I can’t get the interval to cancel, any ideas?

https://codepen.io/happyhd/pen/QMrLGR/?editors=0010

Yes, it’s called clearInterval()

WindowOrWorkerGlobalScope.clearInterval()