finds.dev← search

// the find

una/YouMightNotNeedJS

★ 1,836 · HTML · MIT · updated Apr 2022

A reference site showing how to replace common JavaScript patterns with native HTML and CSS — things like modals, accordions, sliders, and form validation that modern browsers handle without a script tag. It's aimed at developers who reflexively reach for JS for things the platform now does natively.

Each comparison is structured with accessibility notes, caniuse data, and a live demo, which is more thorough than most 'you don't need X' lists. The accordion and modal examples using `<details>`/`<dialog>` are directly usable. Having a11y.txt alongside every component shows the author actually thought about whether the CSS-only version is accessible, not just whether it works visually. The scope is narrow and honest — it doesn't pretend CSS can do everything JS does.

Last commit was 2022 and the site predates `<dialog>` being baseline, so some examples use older workarounds that are now outdated. The build toolchain is CoffeeScript + Jade + Stylus — all effectively dead technologies, so contributing or building locally is painful. The repo covers only about a dozen components, which is sparse for what could be an authoritative reference. No search or filtering on the site itself, so discovery is just scrolling.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →