A readable alternative to the ternary operator when showing and hiding content based on more than two mutually exclusive conditions
A collection of open-source flag icons for use in projects
The explanation behind a regular expression for matching strong passwords
Some vanilla JavaScript alternatives to common tasks that I used to use jQuery for
Building a button whose background and text colour wipe from one colour to another on mouse hover.
A method for adding intuitive keyboard navigation to elements in an irregular layout, such as points on a map
A very specific scanerio I encountered when formatting addresses
A way to conditionally adjust the style of an SVG image embedded using an <img>
element