Warn of Unsaved Changes in JavaScript
Here's how to warn users about losing unsaved changes before they close the tab.
Here's how to warn users about losing unsaved changes before they close the tab.
We can easily customize form placeholder colors across all major browsers.
Svelte lets us easily read the user's text selection and listen for changes to it.
These are some ways you can write shorter and cleaner JavaScript conditionals.
This is a reliable little snippet I use to read environment variables in my shell scripts.
This snippet lets you override your server's default session length once and for all!
Hugo's default headers are a bit bland. Let's spruce them up!
A deep dive into the tech stack, methodology, and automation behind my blog.