+ 3

Countdown

Hi i wanted code for 1 minute countdown to resend sms code ... like thiis "code will resend in : 1:00 ... 00:59 ..."

7th May 2017, 6:43 PM
Matin Zadehdolatabad
Matin Zadehdolatabad - avatar
11 Respuestas
+ 10
everyone beat me to it while i write a code xD oh wells.... https://code.sololearn.com/WpeC7GwrbQpQ/?ref=app
7th May 2017, 7:08 PM
Burey
Burey - avatar
+ 13
Just kidding, my table is fine ^^
7th May 2017, 8:21 PM
Tashi N
Tashi N - avatar
+ 11
:D You won't learn how to do it if you don't try... But I've got an example code, maybe it can help you: https://code.sololearn.com/WC0YP8tZm8Wp/?ref=app
7th May 2017, 6:52 PM
Tashi N
Tashi N - avatar
+ 10
@Burey Noooooooo! NOOOOOOOO! (ノಠ益ಠ)ノ彡┻━┻
7th May 2017, 7:28 PM
Tashi N
Tashi N - avatar
+ 9
00:58...00:57...00:56...Oh, we're not counting. setTimeout(function, fire_once_after_milliseconds) or var myInterval = setInterval(function, keep_firing_forever_until_myInterval_is_cleared); // edit: clearInterval(myInterval) stops it from repeating (then set myInterval = null) Either way you're going to have to manage one of those timers. Used this way, they're not guaranteed to fire on time, but that rarely matters.
7th May 2017, 6:48 PM
Kirk Schafer
Kirk Schafer - avatar
+ 7
Yeah... you've got good information from Kirk. You've got an example > do it.
7th May 2017, 6:59 PM
Tashi N
Tashi N - avatar
+ 6
@Tashi, lol
7th May 2017, 8:20 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
could you please send rest of the code on your profile with html ?
7th May 2017, 6:49 PM
Matin Zadehdolatabad
Matin Zadehdolatabad - avatar
+ 2
thankkssss
7th May 2017, 7:10 PM
Matin Zadehdolatabad
Matin Zadehdolatabad - avatar
+ 1
I wanted only 1 minute countdown
7th May 2017, 6:56 PM
Matin Zadehdolatabad
Matin Zadehdolatabad - avatar
+ 1
i got stuck .... help :( one minute where should i change?
7th May 2017, 7:06 PM
Matin Zadehdolatabad
Matin Zadehdolatabad - avatar