Hi everyone, i’m very stuck on this FCC challenge. In practice, my code go until 00:00 and change to a session or break, but when I launch the test, the first test under #timer says:
Timer has not reached 00:00.
Error: Timer has not reached 00:00.
And goes the same for 9 to 15 test on this hashtag. I’ve been searching and i think it’s because “setInterval” does not decrement exactly, but I don’t know how can I fix it. Here’s my code:
So please, would someone give an advice to fix my code? I’ve been stuck for almost two weeks. By the way, excuse my poorly english, I’m not a native speaker.