I was making the Pomodoro clock in react but i am getting the error to pass the condtion 12 and 14
The timer has not reached 00:00.
Error: Timer has not reached 00:00.
when I am doing manually it is alright. any help will be appreciated.
my codepen link is:https://codepen.io/jaspal9755/pen/qLgVPm?editors=0110
i agree - the clock does reach 00:00 on both timers but are you using a variable called “timer” (I think this is what it is explicitly looking for to reach 0) (I have a similar but different issue - mine goes to 00:00 and start the next timer but test 14 & 15 claim the next timer hasnt started)…
you mean to say i have given the name to the timerLabel instead of timer