Javascript Stopwatch
December 3, 2009 | Posted in Javascript
The other day I needed a stopwatch to time a talk I was giving, but I had a problem. My stopwatch was ALL the way outside in the garage! Now I obviously wasn't going to get up and get it, so I figured there's gotta be something online. Sure enough, there are quite a few online stopwatches.
After using one, I started to think "Man, I should try to make this, it'll be a good exercise". So I did.
And I failed... Sort of... I've only worked with time in javascript a couple times, so after trying to figure it out for awhile, I modified some code I'd found a couple different javascript stopwatches using. Then I added some cool extra functionality and styled it all up with CSS (with CSS3 features!).
Hopefully you'll find this useful. And if not, at least it looks cool!









Man, I can't wait to start Javascript next term.
Hi ! Greetings from Argentina! 1º) Sorry, but my english is very poor. 2º) Can i have this javascript to put in a system for kart races?
I need get lap timing!
Can you send me? I need use it without internet connection!
Thanks!
Walter.
Is it possible to get your permission to include this stopwatch in an iPhone app? I need a lap counter where the clock keeps running while counting laps - yours does the job admirably well!
Thanks,
Steve Husting
@Walter Rojas:
Sure! Just copy the code from the Stopwatch site.
@Steve Husting
Yes, please go ahead!
Thank you my friend liked it very much. Where can I download it?