Firefox Goes CSS Modules

By Chris Coyier on

Firefox 147 just came out, and the flagship developer feature is clearly anchor positioning support, bringing that “to the baseline” as we’re supposed to say these days. That rules, but I’m also very hyped about CSS module scripts. Remember, they are a way of importing a stylesheet in JavaScript, that is, the only decent way […]

What Actually Makes You Senior

By Chris Coyier on

Matheus Lima on what makes you senior: But if you strip away the title, the salary, and the years of experience, there’s one core skill that separates senior+ engineers from everyone else: reducing ambiguity. Everything else flows from that.

Zod + TypeScript: Schema Validation Made Easy

By Chris Coyier on

I can easily imagine a job interview question being “What’s the difference between TypeScript and Zod and in what circumstances do you need each?” They are both type validation libraries. Would you ever need both? The short answer is that TypeScript is great but can’t help you at runtime, where you might get data from […]

JavaScript Engines Zoo

By Chris Coyier on

Holy cow there are a lot of JavaScript engines. These are the big ones like V8 that Chrome uses or JavaScriptCore that Safari uses, but also purposefully lightweight engines like QuickJS for “embedding”. (I’m also just realizing that domains like this, zoo.js.org, anybody can have because js.org is literally for JavaScript-based projects and you can […]

Simulating Crop Marks

By Chris Coyier on

Crop marks are an idea that comes from the print design world. Design in the bleed area will be cut away by giant cutter machines, and that bleed area is designated by the crop marks. We can do it on the web too, just for kicks.