Continuation Passing Style Patterns for JavaScript

There are many approaches to deal with deeply asynchronous code in JavaScript. One of the most popular option is to use promises. I don’t… Read more


Dark mode images without JavaScript

The <picture> element supports media query matchers and if you want to specify a different image for dark mode, you can use a different <source>. So, if there are no suitable matches or if the browser doesn’t support the <picture> elemen... (more…)

Read more »