Pomodoro clock working, but not passing #11, #26 and #28

Even though my clock works as instructed, I am still failing to pass 3 checks:

User Story #11: 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.

User Story #26: When a countdown reaches zero (NOTE: timer MUST reach 00:00), a sound indicating that time is up should play. This should utilize an HTML5 audio tag and have a corresponding id=“beep”.

User Story #28: The audio element with id of beep must stop playing and be rewound to the beginning when the element with the id of reset is clicked.

Would anyone be so kind as to check my code?
Codesandbox link

image
Your reset function crashes on this line. That’s throwing your test 11 and likely your test 28.

image
This error gets thrown when I let the clock run down to 0.

Thank you.

I redid the HTML5 audio tag, so that it binds this.audio directly, and this have let me pass tests no. #26 and #28.

For #11 I did have to append all states to reset function, even the ones that weren’t needed in time-label, else it didn’t pass.