JSFiddle is great for me to try and do quick bits of code. I don't know how to code properly so i just chuck in things from tutorials or CSShat
For example, here's a button i made with a dog gif when you click on it
http://jsfiddle.net/morz/ZKaLz/