# Pomodoro Clock - Mind boggled

**URL:** <https://forum.freecodecamp.org/t/pomodoro-clock-mind-boggled/149563>\
**Category:** General\
**Created:** [September 23, 2017, 9:41pm UTC](https://forum.freecodecamp.org/t/pomodoro-clock-mind-boggled/149563 "2017-09-23T21:41:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asg5704](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/asg5704/32/20117_2.png) [@asg5704](https://forum.freecodecamp.org/u/asg5704)\
**Post date:** [September 23, 2017, 9:41pm UTC](https://forum.freecodecamp.org/t/pomodoro-clock-mind-boggled/149563/1 "2017-09-23T21:41:53Z")

</div>

So I’ve been trying to figure out a way to implement [MomentJS](https://momentjs.com/) & [CountdownJS](http://countdownjs.org/) into my Pomodoro Clock project. I just wanted to see if I had the ability to do so and while I’ve made considerable progress I am still having trouble with two things.

1.) My timer will continue even after reaching 0:00 seconds and thanks to Countdown.js will start to count upward in time. 🙄 I have tried parsing to seconds & milliseconds but no avail.  
2.) My reset button function --\> `window.clearInterval(timeoutID)` does not reset the way it’s supposed to and get locks up because the my startTimer function is still running.

I’ve tried researching and looking at implementations of `setInterval()` and `clearInterval()` and I think I’m overlooking or not seeing something. Can anyone push me in the right direction. I sort of pushed this off after being frustrated with it for so long but I really want to complete my Front End Development Certificate.

[https://codepen.io/asg5704/project/full/XzxErb](https://codepen.io/asg5704/project/full/XzxErb)

---

<div class="post-metadata">

**Author:** ![TomerPacific](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/tomerpacific/32/158967_2.png) [@TomerPacific](https://forum.freecodecamp.org/u/TomerPacific)\
**Post date:** [September 30, 2017, 3:03pm UTC](https://forum.freecodecamp.org/t/pomodoro-clock-mind-boggled/149563/2 "2017-09-30T15:03:39Z")

</div>

Hey asg5704,  
the link to your CodePen project does not work, so without seeing any code it is kind of hard to know what/where the problem is.  
Edit the link so we can see your project and try to help you solve the issue.

---

<div class="post-metadata">

**Author:** ![asg5704](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/asg5704/32/20117_2.png) [@asg5704](https://forum.freecodecamp.org/u/asg5704)\
**Post date:** [September 30, 2017, 3:47pm UTC](https://forum.freecodecamp.org/t/pomodoro-clock-mind-boggled/149563/3 "2017-09-30T15:47:24Z")

</div>

@TomerPacific, I couldn’t get any help from anyone so I scrapped it and started from scratch again. I completed it and it’s working now… Now onto the Tic-tac-toe Game Logic. Thanks again.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:38pm UTC](https://forum.freecodecamp.org/t/pomodoro-clock-mind-boggled/149563/4 "2021-01-17T20:38:39Z")

</div>

Closed on January 17, 2021, 8:38pm UTC


