Your website does not need JavaScript
summary
Builds a completely static site from plain HTML and CSS — no JS, no npm, no build step — and demonstrates concrete techniques that actually work: details + summary for accordions, native form validation and input types, input type=range with datalist for labeled sliders, radio-controlled testimonial and image carousels, CSS nesting and the new :has selector to count children. Notes real browser support limits (has is newer, Firefox landed it recently) and accessibility caveats; the static site functions without JavaScript but some UX polish and persisted state still benefit from JS.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:07The problem with JavaScript
- 3:03Content Targeting
- 6:54Accordion
- 8:58Form validation
- 12:21Nesting
- 14:13Range sliders
- 19:45Testimonials
- 26:03Switches
- 32:08Image Carousel
related talks
48mYour website does not need JavaScript
01h 00mYour website does not need JavaScript
39mYou Don’t Need JavaScript for That
36mStop using JS for that: moving features from JS to CSS & HTML
39mYou really don't need all that JavaScript, I promise
30mStop using JS for that: Moving features to CSS and HTML
40mStop using JavaScript for that - Moving features from JS to CSS and HTML
19mHTML can do that?
