I just started playing with jsFiddle, which is an online tool that allows you to test and share HTML/JavaScript fragments. It’s a really neat tool – I’m not entirely sure what it’s boundaries are quite yet, but it’s been pretty amazing so far.
The interface is fairly intuitive – just three panes for HTML, JavaScript, and CSS, and an output pane that displays your rendered content. It also has support for a number of JavaScript frameworks (jQuery, MooTools, etc), and a number of addons for those frameworks. It’s also setup as a collaborative tool – by default, your ‘Fiddles’ are public and accessible by URL. As a quick test of the tool, I ported the code I wrote for my ‘:between‘ jQuery selector – check out the demo here: http://jsfiddle.net/jneal/WmnNJ/.
You can even embed your Fiddles on other websites. Next time I write a post on a coding technique, I’m planning on setting up some examples through jsFiddle. Hopefully it turns out well!