:star: 472 | @finklez | http://www.freecodecamp.com/finklez
:star: 285 | @mynameissal | http://www.freecodecamp.com/mynameissal
:star: 473 | @finklez | http://www.freecodecamp.com/finklez
:star: 513 | @jondcoleman | http://www.freecodecamp.com/jondcoleman
function decTime() {
//fill the circle
filler(countDown);
// display the current count down
showCount();
// decrement the counter if it's not at zero
if (countDown > 0) {
countDown--;
} else {
countDown = breakSeconds;
if (countDown > 0) {
countDown--;
} else {
// stop the timer
clearInterval(intervalID);
}
}