Build a simple Slack app that sends one-way messages to a channel using a Node script.
Next.js ships with these two incredibly useful utility components. You can further abstract these to clean up your code.
Components often need to use styling based on property combinations. There are a number of ways to solve this, but only one I’ve found to be the cleanest.
A tutorial that walks through the process of writing a Node.js script to recursively test for broken links on a website.
With its large collection of (free) professional imagery and easy-to-use developer API, Unsplash is a great tool for generating contextual placeholder images for your application.
As your 11ty application evolves, you’ll want more organization with your JavaScript. Here’s a method for bundling together using esbuild.
When using raw JavaScript with 11ty, there are multiple approaches you can take for binding events, all without complicating the JavaScript you’re using.
When using the native addEventListener function, you may often want to pass arguments to the callback function. Anonymous functions are here to help.
Things can be tricky when you want to use a function (with required parameters) as an argument within another function.
It may seem like jQuery has been dead for years, but it is still widely used in 2022. But should you take the time to learn it?