diff --git a/typing/main.js b/typing/main.js index ff26e89..34f4725 100644 --- a/typing/main.js +++ b/typing/main.js @@ -60,10 +60,10 @@ function timeclock(){ timecounttext.style.fontWeight = "bold" timecounttext.innerText = "TIME OVER" resetcolor() - setToType() typed.value = "" timecountspeed() setTimeout(setcolor,1000,timecounter); + setTimeout(setToType,1000); }else{ lifecounttext.innerText = --lifecounter timecounttext.style.color = "red"