Stefan
Legend
I'm learning Javascript and wrote a minimalistic cube timer as exercise:
http://stefan-pochmann.info/ptimer/STimer.html
I'm pretty happy with the result and the code, but I'd appreciate if more experienced Javascript coders could have a look and tell me whether I'm doing something badly. Especially I'd like to know whether the time formatting can be done better, I really hate that part but couldn't find a better way.
I thought about asking in a Javascript forum and I still might, but I guess I'd have to explain some cube stuff to them. Also, maybe other cubers new to programming are interested in having a look at a timer with a manageable amount of code like this.
http://stefan-pochmann.info/ptimer/STimer.html
I'm pretty happy with the result and the code, but I'd appreciate if more experienced Javascript coders could have a look and tell me whether I'm doing something badly. Especially I'd like to know whether the time formatting can be done better, I really hate that part but couldn't find a better way.
I thought about asking in a Javascript forum and I still might, but I guess I'd have to explain some cube stuff to them. Also, maybe other cubers new to programming are interested in having a look at a timer with a manageable amount of code like this.