Learn how to validate URLs with the new static JavaScript method URL
.
Posts people like
.canParse I always thought that JS engine implemented property order in objects differently and thus we can not rely on order of certain properties. It turns out this was fixed.
Learn about the ways to read and import JSON files in Node.js ECMAscript modules (ESM).
Learning JS framework internals by building your own, the
oklch()
color function and responsive videos on the web.The oklch() color function enables using the P3 color space but more importantly allows color manipulations that retain perceived lightness.
Node.js' top-level await feature is available in ES modules. Find out about three ways to enable it and untangle your code.
A list of APIs to generate random avatar placeholder images.
Responsive videos, optimized
fetch
calls and how to escape CSS classes in JavaScript.Override and enforce dependency versions using npm "overrides".
Learn how to replace all on a DOM element registered event listeners by replacing it with a clone of itself.