Nick GardinITNEXTFixing Focus for SafariIn 2008, Apple’s Safari team had a problem: web developers had noticed that links, buttons, and several input elements were not matching…8 min read·Nov 16, 2021--2--2
Nick GardinUX CollectiveIt’s time we say goodbye to pixel unitsWhy responsive and accessible websites don’t really need ‘em.4 min read·Jan 27, 2021--15--15
Nick GardWhy JS needs native memoizationI have a proposal for a new feature for JavaScript: built-in memoization. Let’s make Function.memoize a reality.5 min read·Jan 4, 2021--1--1
Nick GardAccessible Fluid TypographyScreen-relative units, like vw and vh, are not accessible by themselves. Pair them with relative units to respect the user’s preferences.2 min read·Dec 30, 2020--1--1
Nick GardWhen Should You Do A Rewrite?Everyone wants to rewrite their codebase. The current one has too much cruft. It’s legacy code. Ugh. But when is it cost-effective?5 min read·Oct 3, 2019----
Nick GardJavaScript’s Next Evolution: “use stricter”;“use strict”; greatly cleaned up JavaScript, but there are still some pain points to eliminate. I think we’re ready for “use stricter”;2 min read·Sep 6, 2019----
Nick GardMagic Numbers in CSSOne of my more common critiques on code reviews of CSS changes is the presence of magic numbers. I’ll see a property being added with a…3 min read·Jul 29, 2019----
Nick GardinITNEXTWhy I Don’t Use CSS VariablesCSS variables, officially called Custom Properties, are amazing. I want to use them, but I can’t. Because IE11 doesn’t support them.3 min read·Jun 19, 2019--2--2
Nick GardWhy NaN !== NaNAmong the many seeming oddities of JavaScript is the fact that NaN (Not-a-Number) is not equal to itself. This is a FEATURE of JavaScript.3 min read·May 14, 2019--1--1
Nick GardinWe’ve moved to freeCodeCamp.org/newsCSS rules that will make your life easierAfter years of writing and maintaining a couple of very large web projects and numerous smaller ones, I have developed some heuristics for…10 min read·Apr 15, 2019----