25 + 5 clock challenge

could you show me how to stop the setInterval() when it counts to 0? and why doesnt my timer auto switches from session timer to break timer after every session? tysm

https://codepen.io/siamese6401/pen/RNPWEoo

Welcome to the forum :wave:

You should find out things like this yourself by searching for the answer:

https://duckduckgo.com/?q=+how+to+stop+the+setInterval()

This is a very important part of learning to code. You should be doing this every time you have a general question like this.

1 Like

ive found the solution and finished the challenge. tysm <3

1 Like