DEV Community


Simple Stopwatch Web App

Ben Mulford
I enjoy building mobile friendly web apps. Starting to get into native apps. Husband, dad, outdoorsman.
・1 min read

I built a new small project for my portfolio. It was good practice in Javascript and CSS. Check out my stopwatch app:
Code available at

Feel free to give some feedback.

The challenge with doing this in the browser is that the document can't be updated every millisecond. Hundreds of a second was possible, but it really didn't matter to the human eye. I decided to only show tenths of a second in the clock display, but then when recording values (laps) it is using time stamps which are accurate down to the millisecond.

Discussion (0)