Formatting time not working, why?

Im trying to complete this user story:
User Story #8: I can see an element with corresponding id="time-left" . NOTE: Paused or running, the value in this field should always be displayed in mm:ss format (i.e. 25:00).
Looking at lines 59 and 78 anyone know why my timeFormatter function is not working? It is working for this guy on minute 4:40 - youtube “Build a 25 + 5 clock | FreeCodeCamp”

My code:

Thanks for your time

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36

Challenge: Build a 25 + 5 Clock

Link to the challenge:

I’m trying to see your project but nothing appear, could you check that you have saved the pen and everything is working?

Actually, I just rechecked and it was a silly mistake I had made. It now works, thanks for your help anyway iehleen !

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.