A timer program that count click from user in 1 min can you guys code ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

A timer program that count click from user in 1 min can you guys code ??

5th May 2019, 2:06 PM
Satya
Satya - avatar
7 Answers
+ 9
Cannot
5th May 2019, 2:23 PM
Calviีฒ
Calviีฒ - avatar
+ 8
Jamie๐Ÿ’ fascinating argument... i believe my egg timer is sit for 1 minute. Oh! but, it isn't JavaScript... And I am not concerned about counting clicks by a single user in one minute... Insanity - someone doing the same thing over and over expecting different results on a click counter... Satya show us your attempt
5th May 2019, 3:51 PM
BroFar
BroFar - avatar
+ 3
Jamie๐Ÿ’ signing your paycheck ? ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚, you know no one would pay for that don't you?
5th May 2019, 3:33 PM
Dlite
Dlite - avatar
+ 2
So how much are we talking about here ? (let me see if I can afford you ๐Ÿ˜‚)
5th May 2019, 3:39 PM
Dlite
Dlite - avatar
+ 2
BroFarOpsยฉยฎ๏ธโ„ข๏ธ ๐Ÿฑ I got a laugh out of that one ๐Ÿ˜‚
5th May 2019, 5:29 PM
Decimis โ€  ๐•ฏ๐–Š๐–ˆ๐–Ž๐–’๐–Ž๐–˜
Decimis โ€  ๐•ฏ๐–Š๐–ˆ๐–Ž๐–’๐–Ž๐–˜ - avatar
+ 2
but i need more functionality. that is user click counter in 1 min
6th May 2019, 9:41 AM
Satya
Satya - avatar
+ 1
Jamie๐Ÿ’ ,Emma ,BroFarOpsยฉยฎ๏ธโ„ข๏ธ ๐Ÿฑ var timer = 60; var min = 0; var sec = 0; function countDown() { min = parseInt(timer/60); sec = parseInt(timer%60); if (timer > 1) { document.getElementById('tm').innerHTML = 'TimeOUt'; } document.getElementById('tm').innerHTML = "<b>Time Left: </b>" +min.toString()+':'+sec.toString(); timer--; setTimeout (function() { countDown(); }, 1000); }
6th May 2019, 9:39 AM
Satya
Satya - avatar