Home/2021
Archive

Year 2021

2,150 articles published in 2021.

Career & Teams — Updating The Single Most Influential Book of the BASIC Era

Updating The Single Most Influential Book of the BASIC Era

In a way, these two books are responsible for my entire professional career. With early computers, you didn’t boot up to a fancy schmancy desktop, or a screen full of apps you could easily poke and prod with your finger. No, those computers booted up to the command line. From here, if you were lucky, you might have a cassette tape drive. If you knew the right commands, you could type them in to lo

JAJeff AtwoodJeff Atwood·December 31, 2021Career & Teams
Frontend — Defensive CSS

Defensive CSS

Ahmad Shadeed nails it again with "Defensive CSS." The idea is that you should write CSS to be ready for issues caused by dynamic content.

CCChris Coyier·December 31, 2021Frontend
Frontend — Add Less

Add Less

When you're about to start a new website, what do you think first? Do you start with a library or framework you know, like React or Vue, or a meta-framework

CWCassidy WilliamsCassidy Williams·December 30, 2021Frontend
Frontend — Empathetic Animation

Empathetic Animation

Animation on the web is often a contentious topic. I think, in part, it’s because bad animation is blindingly obvious, whereas well-executed animation fades

CECassie EvansCassie Evans·December 29, 2021Frontend
Engineering — Add a Service Worker to Your Site

Add a Service Worker to Your Site

One of the best things you can do for your website in 2022 is add a service worker, if you don't have one in place already. Service workers give your website

CFChris FerdinandiChris Ferdinandi·December 28, 2021Engineering
Frontend — Care for the Text

Care for the Text

How do you make a great website? Everyone has an answer at the ready: Flashy animations! The latest punk-rock CSS trick! Gradients! Illustrations! Colors to

RRRobin RendleRobin Rendle·December 24, 2021Frontend
Engineering — 2021 Roundup of Web Research

2021 Roundup of Web Research

Last year, we kicked out a roundup of published surveys, research, and other findings from around the web. There were some nice nuggets in there, like a

GGGeoff GrahamGeoff Graham·December 23, 2021Engineering
Engineering — Remember You Are Not the User

Remember You Are Not the User

One thing people can do to make their websites better is to remember that you are not representative of all your users. Our life experiences and how we

EBEmma BostianEmma Bostian·December 23, 2021Engineering
Engineering — Show, Don't Tell

Show, Don't Tell

How much time do you spend designing the content presentation for your websites? When you write a new blog post or create a new page, are you thinking about

MCMel ChoyceMel Choyce·December 23, 2021Engineering
Engineering — Increase Your Reach

Increase Your Reach

NGL, I was a little overwhelmed when I sat down to write this article. There are so many things that immediately flooded my mind—take out any extra divs; use

MSMelanie SumnerMelanie Sumner·December 22, 2021Engineering
Design & UX — Personalize it!

Personalize it!

Ensuring accessibility is a clear path to making your website better. When you make your site accessible, you grow your audience, improve the experience for

UKUna KravetsUna Kravets·December 22, 2021Design & UX
Frontend — Why Ember?

Why Ember?

There was a time when I'd write React, Angular, and Ember as a kind of generic grouping of three major JavaScript frameworks. And maybe just because three is

CCChris Coyier·December 22, 2021Frontend
Design & UX — Useful UX Guidelines, Tools And Resources — Smashing Magazine

Useful UX Guidelines, Tools And Resources — Smashing Magazine

A meaningful user experience is what can set your site apart from others. But what makes an experience truly meaningful? And how to achieve that? The tools, tips, and resources in this post not only help you to come up with a UX strategy that works for you and your team but also to circumvent potential UX pitfalls.

CMCosima MielkeCosima Mielke·December 22, 2021Design & UX
Performance — Links on Performance V

Links on Performance V

Does shadow DOM improve style performance? — Nolan Lawson covers how, because of the inherent encapsulation of the shadow DOM, the styling gets applied a

CCChris Coyier·December 21, 2021Performance
Engineering — Make Joyful Things

Make Joyful Things

Everything kind of sucks right now. Things—generally—feel bad. Setting aside the broader realities of a global pandemic and rampant social injustices, we’re

EFEli Fitch·December 21, 2021Engineering
AI & ML — Shopify’s Unique Data Science Hierarchy Of Needs - Shopify

Shopify’s Unique Data Science Hierarchy Of Needs - Shopify

You’ve probably seen the “Data Science Hierarchy of Needs” (pictured below) before. Inspired by Maslow, it shows the tooling you would use at different levels in data science—from logging and user-generated content at the bottom, to AI and deep learning at the very top. While hierarchies like this one can serve as helpful guides, at Shopify, we don’t think it always captures the whole picture. For

SEShopify Engineering·December 21, 2021AI & ML
Engineering — Auto Dark Theme

Auto Dark Theme

There are a number of ways to approach a dark mode for your website, but essentially you get all the styles ready for it and then apply them when the user has

CCChris Coyier·December 20, 2021Engineering
Engineering — Maybe Nothing

Maybe Nothing

What’s one thing we can do to make our site better? Maybe nothing at all!

JLJenn Lukas·December 17, 2021Engineering
Design & UX — Designing Human-Machine Interfaces For Vehicles Of The Future — Smashing Magazine

Designing Human-Machine Interfaces For Vehicles Of The Future — Smashing Magazine

Modern HMIs are transforming the way we interact with our vehicles. A car becomes a gadget that we use in a similar way as we use our phones. Users expect a lot of HMI, they even evaluate car experience based on the experience they have with HMI. In this article, let’s look at some ways to help us satisfy users’ needs with proper design.

NGNickbabich Glebkuznetsov·December 17, 2021Design & UX
Engineering — From 0 to 20 billion - How We Built Crawler Hints

From 0 to 20 billion - How We Built Crawler Hints

Cloudflare Is reducing the environmental impact of web searches with 20+ billions crawler hints delivered so far. This blog describes the technical solution of how we built the Crawler Hints system that makes all this possible.

MNMatt, NathanMatt, Nathan·December 16, 2021Engineering
Frontend — Topological sort

Topological sort

Jordan Scales explores the computer science concept of topological sorting, and what it might look like if applied to the concept of z-index in CSS. So, you

CCChris Coyier·December 16, 2021Frontend
Frontend — HTML Sanitizer API

HTML Sanitizer API

Three cheers for (draft stage) progress on a Sanitizer API! It's gospel that you can't trust user input. And indeed, any app I've ever worked on has dealt

CCChris Coyier·December 16, 2021Frontend
SRE & Ops — Power Loss Siren: Making Meta resilient to power loss events

Power Loss Siren: Making Meta resilient to power loss events

There are thousands of distributed services running on millions of servers in Meta’s data centers. Part of ensuring the reliability of those services means making them resilient to power loss events as our data center fleet grows. To help increase resiliency, we built the Power Loss Siren (PLS) — a rack level, low latency, distributed […]

CWChris Wiltz·December 16, 2021SRE & Ops