Designing better Checkboxes

When adding an <input type=”(radio|checkbox)” /> I recommend wrapping the whole thing in a label. Because it makes the clickable area bigger and allows the user to miss the text and input while getting the desired result. Here’s the basic markup. Check out this Pen!

Continue Reading

Prevent DOM Reflow

Javascript is a really laid back language. You can write a script a hundred different ways and most browsers don’t care. However, as I found out there are consequences for not diligently writing proper code. I turned Chris Coyier’s datalist pollyfill into a jQuery plugin. Everything seemed perfect and I was rather self-impressed until I […]

Continue Reading