Thoughts

Essays and notes on design, code, and building things, published whenever a thought refuses to leave quietly.

1 June 2019

Encode/Decode HTML

A quick reference for encoding and decoding HTML entities using JavaScript and PHP—essential for safely displaying code and special characters on web pages.

Read more →

19 May 2019

Leaked Passwords

Search across multiple data breaches to see if your pass has been compromised. Implement the API in your signup process to validate users' passwords.

Read more →

15 May 2019

Creating a JS Library

A step-by-step guide to building a simple JavaScript library from scratch, covering initialization, default options, user overrides, and browser compatibility.

Read more →

11 May 2019

CSS Radio Buttons

A collection of elegant radio button styles built entirely with CSS. These examples showcase how to create visually appealing and accessible form inputs without relying on JavaScript, ideal for modern, minimalist UI designs.

Read more →

2 May 2019

HTML Details/Summary

A simple way to create dropdowns using the native <details> and <summary> elements in HTML, with tips for styling and notes on browser support.

Read more →

24 April 2019

Animating My First SVG

A hands-on walkthrough of animating SVG elements by morphing paths and transforming shapes, using CSS to create a smooth hover effect for a custom icon.

Read more →