Blog.
Posted on
Dec 31, 2023
How to Trap Focus Inside a Modal to Make it Accessible for All Users
When a user has a modal open they should be confined to that modal until they decide to leave it, including when navigating the modal with a keyboard.
Posted on
Dec 27, 2023
Fade in Elements as They Come Into View
Fading content in as it comes into view is a nice effect you can add to your website to enhance your users experience. Learn how to add this to your website.
Posted on
Dec 25, 2023
How to Turn on Kid Mode on your iPhone
Learn how to enable kid mode on your iPhone so you can let your kids watch videos or play games on your iPhone without worrying about them calling 911.
Posted on
Dec 23, 2023
Build a Custom Datepicker with Svelte
This post walks through building a basic datepicker using Svelte. This is a great starting point for building a more complex datepicker.
Posted on
Dec 06, 2023
Block Specified WordPress Plugins from Receiving Updates
This code can be placed in your theme's functions.php to prevent the specified WordPress plugins from getting updated.
Posted on
Nov 17, 2023
I Built a Game Called Flipping Bananas
I built a game called Flipping Bananas. It's a puzzle game with similarities to Minesweeper and Picross. Flip over cards to find bananas, but beware of Spike the Dog!
Posted on
Jul 31, 2023
Run JavaScript Function Once a Condition is Met
A simple snippet that runs a function continuously until a condition is met. Once the condition is met it executes some code and the interval is cleared.
Posted on
Jul 26, 2023
Require Double Clicking cmd+q to Quit Applications on macOS
Add a script that requires clicking cmd+q twice to quit applications on macOS. Never accidentally quit an application when you only wanted to close a tab again.
Posted on
Jul 24, 2023
Add Custom Rewrite Rules to WordPress
Add custom rewrite rules to WordPress to replace a query string for a user profile page with a pretty url path.
Posted on
Jul 21, 2023
How to Properly Hide an Element with CSS
You may think hiding elements with CSS is trivial but there actually is an incorrect way of doing it, and you've probably done it. I know I have.
Posted on
Jun 23, 2023
Useful WP-CLI Commands
If you are a WordPress developer you need to be using WP-CLI. Here are some of the commands that I find the most useful.
Posted on
Jun 23, 2023
Magento 2.4.6 Bug: Could not validate a connection to Elasticsearch
Fix "Could not validate a connection to Elasticsearch. No alive nodes found in your cluster" error in Magento 2