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…Nov 16, 20212Nov 16, 20212
Nick GardinUX CollectiveIt’s time we say goodbye to pixel unitsWhy responsive and accessible websites don’t really need ‘em.Jan 27, 202115Jan 27, 202115
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.Jan 4, 20211Jan 4, 20211
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.Dec 30, 20202Dec 30, 20202
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?Oct 3, 2019Oct 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”;Sep 6, 2019Sep 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…Jul 29, 2019Jul 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.Jun 19, 20192Jun 19, 20192
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.May 14, 20191May 14, 20191
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…Apr 15, 2019Apr 15, 2019