Here’s a list of considerations for building good websites.

  • Consider having a performance budget. (Tammy Everts at SpeedCurve has A Complete Guide to Web Performance Budgets.) The idea is that you determine performance-related metrics that are acceptable to your site, and you commit to staying at or better than them. Ideally this is enforced at the CI (Continuous Integration) level where tests are run that allow/disallow changes to the website based on adherence to that budget.
  • Consider a PWA (Progressive Web App). (Danny Moerkerke has created What PWA Can Do Today to make clear all the many features a PWA can offer.) They aren’t as talked about at the moment, but they are more powerful than they’ve ever been. Between offline support, caching-powered speed, push notifications, file & media access, and many more features, a PWA is a single-code-base multi-platform app at it’s best. They aren’t just for mobile either. Despite Safari being traditionally the most hamstrung in PWA land, they also push things forward in their own way, like desktop support.
  • Consider Electron. Speaking of getting cross-platform support out of one code base, that’s one thing Electron can do for you, packaging up your browser-based app as a stand alone desktop app. (Vaxry says Electron ain’t bad, actually — despite quite a bit of general complaining about it). Since the browser is packaged into the app, one benefit you get is the rare circumstance you build for the web without having to worry about cross-browser support.
  • Consider color themes. I admit I thought “dark mode”, or at least the idea of always offering multiple color themes, was going to be a bit of a fad, but it hasn’t shaped out that way. Most serious sites have dark and light, although how it’s implemented varies. An easy detail to forget? The <meta name="theme-color"> in the HTML, Jim reminds us.
  • Consider OKLCH. The oklch() color function in CSS feels like largely the “best” way to be setting colors on a very general level. This is because it offers access into the wide gamut color ranges (more colors!), consistent lightness across hues, and sensible programmatic control over the values. (Evil Martians have a good guide to this “ecosystem”). If you’re updating an old code base, Silvestar Bistrović has a VS Code extension to help with mass conversion.)