eng
competition

Text Practice Mode

JS: Timer function

created Sep 4th 2014, 14:07 by ChristianStrang1


8


Rating

20 words
210 completed
00:00
var myVar = setInterval( function() { myTimer() }, 1000);  
  
function myTimer() {  
    var d = new Date();  
    var t = d.toLocaleTimeString();  
    document.getElementById( "demo" )[removed] = t;  
}  

saving score / loading statistics ...