CodePen

New Pen

JavaScript: slice vs. splice

Here's the difference between slice and splice:

slice vs. splice

(Inspired by this blog post)

Canvas Game Programming

Getting started making games with HTML5 canvas is surprisingly easy. All you need is a canvas, some objects to draw on the canvas, and a game loop that depends on ...

Optimizing SVGs in data URIs

A while back, CSS-Tricks posted "Probably Don't Base64 SVG", which concluded that if you're using SVGs in data URIs, they're smaller if used as-is instead of with base64...

View More Recently Picked Posts →