Problem with pomodoro clock. 'Timer has not reached 00:00.'

pomodoro clock

I’ve created a rough version of the pomodoro clock. I haven’t added a beeper yet. There’s a recurring issue with the countdown that I don’t understand properly.

following failing:

  1. When I click the element with the id of “reset”, any running timer should be stopped, the value within id=“break-length” should return to 5, the value within id=“session-length” should return to 25, and the element with id=“time-left” should reset to it’s default state.

  2. When a session countdown reaches zero (NOTE: timer MUST reach 00:00), and a new countdown begins, the element with the id of “timer-label” should display a string indicating a break has begun.

  1. When a session countdown reaches zero (NOTE: timer MUST reach 00:00), a new break countdown should begin, counting down from the value currently displayed in the id=“break-length” element.
  1. When a session countdown reaches zero (NOTE: timer MUST reach 00:00), a new break countdown should begin, counting down from the value currently displayed in the id=“break-length” element.
  1. When a break countdown reaches zero (NOTE: timer MUST reach 00:00), a new session countdown should begin, counting down from the value currently displayed in the id=“session-length” element.

error:

‘Timer has not reached 00:00. Error: Timer has not reached 00:00. at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:168095