Zach’s ugly mug (his face) Zach Leatherman

Celebrate JavaScript Naked Day every year on April 24

April 24, 2024

Today my personal web site is being served sans-JavaScript in honor of JavaScript Naked Day.

I implemented this on my web site using a global JS_ENABLED in my Eleventy configuration file (propagated to templates via Eleventy’s global data). This removed the <script> elements in the output of the site’s build.

Origin Story

It started with a toot celebrating CSS Naked Day:

It’s #CSSNakedDay! I love this trend—it highlights the importance of a foundation of good HTML. We need a similar one for JavaScript! #JSNakedDay should be April 10 😅

Related: I first wrote about CSS Naked Day in April 2020.

And then Simon MacDonald ran with it, settling on April 24:

In some countries, “April 24” can be written as “4/24” — which is also the HTTP error code for a failed dependency. JS Naked Day promotes the fact that websites should work without a dependency on JavaScript.

Simon even built a web site: js-naked-day.org


< Newer
11ty Conference is this week!
Older >
Glitch Jams Live Ep. 16: Eleventy'ing

Zach Leatherman IndieWeb Avatar for https://zachleat.com/is a builder for the web at IndieWeb Avatar for https://fontawesome.com/Font Awesome and the creator/maintainer of IndieWeb Avatar for https://www.11ty.devEleventy (11ty), an award-winning open source site generator. At one point he became entirely too fixated on web fonts. He has given 84 talks in nine different countries at events like Beyond Tellerrand, Smashing Conference, Jamstack Conf, CSSConf, and The White House. Formerly part of CloudCannon, Netlify, Filament Group, NEJS CONF, and NebraskaJS. Learn more about Zach »

2 Reposts

Sara Joy :happy_pepper:Simon MacDonald

6 Likes

cthos ????katerbergJonasSara Joy :happy_pepper:Nathan BottomleyLuke Harby
4 Comments
  1. catraxx :v_cat: :antifa:

    @zachleat Jokes on you! My site doesn't use JS to begin with

  2. I’m just Nick ????

    @zachleat I misunderstood the premise and now I’m unemployed

  3. Zach Leatherman :11ty:

    @chileannick the emperor has no clothes! Is it too late to take over as head of a monarchy?

  4. Zach Leatherman :11ty:

    @catraxx every day is a holiday for you!

Shamelessly plug your related post

These are webmentions via the IndieWeb and webmention.io.

Sharing on social media?

This is what will show up when you share this post on Social Media:

How did you do this? I automated my Open Graph images. (Peer behind the curtain at the test page)