The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
Trying to teach myself a few things, and am wondering how I could improve this code: http://jsfiddle.net/joshnh/K5tCE/
Basically I’m after alternate/better ways to code it, and ways to streamline it. Thanks in advance guys!
Also, how do you guys remember what does and doesn’t have a semicolon after it?
I’ve added comments where I’ve changed
The , was changed to ; because the variable “value” was being re-declared instead of redefined
Functions don’t need to end in ; just lines within the function
Ah, awesome. Good catches Karl. Thanks mate!
I was trying to find a font that would change numbers to die faces
wait for it….
… no dice
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed