Open in app

Sign in

Write

Sign in

Nick Gard
Nick Gard

399 followers

Home

About

ITNEXT

Published in

ITNEXT

Browsers need a “some JS” mode

Users need more options than all or none for enabling Javascript

Apr 9
1
A crosswalk sign showing a red hand for “stop.”
A crosswalk sign showing a red hand for “stop.”
Apr 9
1
ITNEXT

Published in

ITNEXT

Fixing Focus for Safari

In 2008, Apple’s Safari team had a problem: web developers had noticed that links, buttons, and several input elements were not matching…

Nov 16, 2021
2
Fixing Focus for Safari
Fixing Focus for Safari
Nov 16, 2021
2
UX Collective

Published in

UX Collective

It’s time we say goodbye to pixel units

Why responsive and accessible websites don’t really need ‘em.

Jan 27, 2021
15
It’s time we say goodbye to pixel units
It’s time we say goodbye to pixel units
Jan 27, 2021
15

Why JS needs native memoization

I have a proposal for a new feature for JavaScript: built-in memoization. Let’s make Function.memoize a reality.

Jan 4, 2021
1
Why JS needs native memoization
Why JS needs native memoization
Jan 4, 2021
1

Accessible Fluid Typography

Screen-relative units, like vw and vh, are not accessible by themselves. Pair them with relative units to respect the user’s preferences.

Dec 30, 2020
2
Accessible Fluid Typography
Accessible Fluid Typography
Dec 30, 2020
2

When 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, 2019
A pile of junk.
A pile of junk.
Oct 3, 2019

JavaScript’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, 2019
JavaScript’s Next Evolution: “use stricter”;
JavaScript’s Next Evolution: “use stricter”;
Sep 6, 2019

Magic Numbers in CSS

One 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, 2019
Magic Numbers in CSS
Magic Numbers in CSS
Jul 29, 2019
ITNEXT

Published in

ITNEXT

Why I Don’t Use CSS Variables

CSS variables, officially called Custom Properties, are amazing. I want to use them, but I can’t. Because IE11 doesn’t support them.

Jun 19, 2019
2
Why I Don’t Use CSS Variables
Why I Don’t Use CSS Variables
Jun 19, 2019
2

Why NaN !== NaN

Among 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, 2019
1
Why NaN !== NaN
Why NaN !== NaN
May 14, 2019
1
Nick Gard

Nick Gard

399 followers

Web Developer, Oregonian, husband

Following
  • Cantor’s Paradise

    Cantor’s Paradise

  • Yancey Strickler

    Yancey Strickler

  • Rich Harris

    Rich Harris

  • Nautilus Magazine

    Nautilus Magazine

  • Anil Dash

    Anil Dash

See all (50)

Help

Status

About

Careers

Press

Blog

Privacy

Rules

Terms

Text to speech