Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

What do you guys think of my stop watch timer?

http://codepen.io/jasonchan/full/RaRXdE/

The buttons work

spacebar starts and pauses.
r to reset

3 Answers

Nice job.

thanks man. :smile:

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

I like it! Very nice. I think I'd like it better if the start/stop/reset buttons looked more like the controls on a remote control to a DVD player though :)

I can do that with font awesome. But most people won't know.

Nice job Jason! If you're looking to improve upon it I have a suggestion. This could just be for me, but after I use any of the buttons they stay selected causing a loss of function for the 'space' and 'r' keys until the whichever button that was pressed loses focus after. Triggering a blur event might do the trick. I like it though. Keep up the good coding man.

I'll keep that in mind.