function startTimer() {
  setInterval(function() {
    gameTime = Math.ceil((new Date() - time) / 1000); 
    $('.time-counter').html("Your Time: " + gameTime);
    }, 1000);       
}
/*
 * Create a new date and round up to be used in time display
 * Wrie time HTML
 */
Create a new date and round up to be used in time display
Wrie time HTML
Create a new date and round up to be used in time display Wrie time HTML
function startTimer() {
  setInterval(function() {
    gameTime = Math.ceil((new Date() - time) / 1000); 
    $('.time-counter').html("Your Time: " + gameTime);
    }, 1000);       
}
function startTimer ( ) { setInterval ( function ( ) { gameTime = Math . ceil ( ( new Date ( ) - time ) / 1000 ) ; $ ( '.time-counter' ) . html ( "Your Time: " + gameTime ) ; } , 1000 ) ; }
Create a new date and round up to be used in time display
 Wrie time HTML
Create a new date and round up to be used in time display Wrie time HTML