« first day (246 days earlier)      last day (3871 days later) » 

Ved
6:56 AM
 
 
 
7:00 AM
 
7:17 AM
 
1 message moved from PHP
 
 
4 hours later…
11:44 AM
 
 
2 hours later…
1:41 PM
10 messages moved from Maharashtrian Code Warriors
 
 
5 hours later…
6:56 PM
You could also do element.setAttribute('id', 'value');, but that's not recommended
 
1 message moved from JavaScript
 
7:35 PM
just his daughter should be fine
 
1 message moved from JavaScript
 
8:12 PM
Anyone tell me how I can put clearInterval in this code to stop speeding up the timer when clicking: var gameTimer = 60;
var Timer;
var Clicks = 0;

function gameSetup() {

document.title = "Clicks: " +Clicks+ " | Game";

var Canvas = document.getElementById("gameCanvas");
var Context = Canvas.getContext("2d");

Timer = setInterval(function(){

document.getElementById("gameTimer").innerHTML = "Timer: " +gameTimer;
gameTimer--;

}, 1000);

Clicks++

Canvas.width = 400;
Context.fillText("Clicks: " +Clicks, 10, 15)
 
1 message moved from JavaScript
 

« first day (246 days earlier)      last day (3871 days later) »