If you don't mind tech-related ads, and want to keep us running, whitelist JSFiddle in your ad blocker.
Thank you! ❤️
Here we have a local data object instead of a server URL, By overriding some internal methods, we can control the output.
Filter a Bloodhound dataset dynamically
Just a syntax example for reference.
jQuery does lots of cool stuff, but it isn't necessary every time. You can get a surprising amount of stuff done with the event object.
Adding content in one shot by putting it all into a fragment first.
Define a list of things to do on resize and add to it at any time later. Uses Ben Alman's throttle/debounce plugin to keep calls down to once per 250ms.
Wanted to use a sprite without a library of any kind. Practiced tile animation, translating the context and flipping the image.
Returns true if the dropoff locations have any numbers in common with the pickup locations.
Another snowfall example, inspired by the many blizzards which have hit Maine recently. Also making use of the Visibility API, because IE<=9 can go to hell.
Just playing around with the way lists can be displayed as tables.