Celebrate JavaScript Naked Day every year on April 24

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 remove…


This content originally appeared on Zach Leatherman and was authored by Zach Leatherman

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


This content originally appeared on Zach Leatherman and was authored by Zach Leatherman


Print Share Comment Cite Upload Translate Updates
APA

Zach Leatherman | Sciencx (2024-04-24T00:00:00+00:00) Celebrate JavaScript Naked Day every year on April 24. Retrieved from https://www.scien.cx/2024/04/24/celebrate-javascript-naked-day-every-year-on-april-24/

MLA
" » Celebrate JavaScript Naked Day every year on April 24." Zach Leatherman | Sciencx - Wednesday April 24, 2024, https://www.scien.cx/2024/04/24/celebrate-javascript-naked-day-every-year-on-april-24/
HARVARD
Zach Leatherman | Sciencx Wednesday April 24, 2024 » Celebrate JavaScript Naked Day every year on April 24., viewed ,<https://www.scien.cx/2024/04/24/celebrate-javascript-naked-day-every-year-on-april-24/>
VANCOUVER
Zach Leatherman | Sciencx - » Celebrate JavaScript Naked Day every year on April 24. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/04/24/celebrate-javascript-naked-day-every-year-on-april-24/
CHICAGO
" » Celebrate JavaScript Naked Day every year on April 24." Zach Leatherman | Sciencx - Accessed . https://www.scien.cx/2024/04/24/celebrate-javascript-naked-day-every-year-on-april-24/
IEEE
" » Celebrate JavaScript Naked Day every year on April 24." Zach Leatherman | Sciencx [Online]. Available: https://www.scien.cx/2024/04/24/celebrate-javascript-naked-day-every-year-on-april-24/. [Accessed: ]
rf:citation
» Celebrate JavaScript Naked Day every year on April 24 | Zach Leatherman | Sciencx | https://www.scien.cx/2024/04/24/celebrate-javascript-naked-day-every-year-on-april-24/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.