diff --git a/timer.js b/timer.js index 00d57ec..fbcb16f 100644 --- a/timer.js +++ b/timer.js @@ -22,7 +22,7 @@ areas[hit].addEventListener("click", stopCountDown, false); } function changeColor() { - document.getElementById("div").style.background='##dcdcdc'; + document.getElementById("areas").style.background='##dcdcdc'; areas[hit].addEventListener("click", changeColor, false); } function stopCountDown() {