JavaScript and the DOM use the Event API to let elements inform their ancestors of things that...
A non-formal explanation of how I, a CSS hipster, figure out how to structure my HTML and CSS without using established methodologies like BEM or frameworks like tailwind.
What do y'all have at your desks that truly makes it *your* desk? Anything goes, no matter how fancy or mundane it is!
A bit of a shower-thought kind of idea about selecting all custom elements with a given prefix in just one selector.
Yes, I disable cookies, localStorage, etc. And I'm honestly tired of having to enable it for random websites that have no business saving data on my PC. Here's how I got around that.
Managing values for `z-index` is a pain. Often we resort to really high numbers to make sure things are definitely on top, only to then find out we want something to be on top of it. Here is a convenient hack to make this easier to manage.
We've all been there. We changed something that wasn't meant to get pushed, forgot about it, and accidentally committed & pushed it. Here's a neat trick to help avoid this.
An AI-Generated listicle of the top 20 JavaScript one-liners that, well, *don't* actually work.
A short explanation with an example of how to prevent event callbacks from keeping objects in memory even when there are no meaningful references to them anymore.
A few days ago, I built a module that turns an element's child-elements into an Array. Except it isn't a one-time operation: You get a Proxy that you can modify like you would an array, but the actual data stays in the DOM.
A short explanation of how I extracted a single JavaScript file into its own repository from a bigger collection of snippets and mini-libraries, keeping the file's commit history but scrubbing irrelevant commits and other files from the repository.
In this short post I present a simple personal library I wrote for myself to handle HTML generation in JavaScript, compare it to many of its alternatives, and evaluate whether it was worth the time investment of not just picking an existing library.
A brief history of Scoping and CSS Scoping CSS to certain regions of the DOM is not a new...
A language-agnostic introduction to the concept of Coroutines
A detailed description of the development process of an HTML TypeWriter element in plain JavaScript using the custom-element API, meta-programming and some recursion magic.
A few of the tricks I've learned over the last few months of working from home
Foreword In this article I will reconstruct my development process for a tiny but powerful...
Here's why I think tabs are objectively better than spaces
A long and poorly structured rant about a series of harmful phenomena I've observed in the world of programming.
Today I had to test some features of a website on a slow connection and, turns out, neither IE nor Edge give you the option to limit network speed. This is how I used nginx to do it myself...
So Lua and Ruby are two rather similar languages in many aspects. There's a lot of articles...