Ask HN: What if you didn't need JavaScript?
Hello,
I’ve been working on a side project: a curated collection of modern, CSS-only techniques for building interactive UI components (like toggles, modals, dark mode…) without relying on JavaScript.
The idea came from seeing how often we reach for JS when CSS is now more than capable. I’m putting these patterns into an ebook, focused on clean, accessible, and native solutions.
Here’s the landing page if you're curious: https://theosoti.com/you-dont-need-js/
I’d love your honest feedback:
- Does this seem useful or interesting to you?
- Anything you'd expect to see in something like this?
- Or anything that immediately turns you off?
I'm genuinely curious how others are thinking about this.
Here's a link https://theosoti.com/you-dont-need-js/
Thanks for the link, not sure why it's not clickable in my post.
The links in the text are never parsed as links. there is a seperate url field for submitting posts with links.
Good to know, thank you!
What if I'm not afraid of JS?
- Does this seem useful or interesting to you? no
- Anything you'd expect to see in something like this? no
- Or anything that immediately turns you off? -
Honestly I think using CSS to build UI components is an even worse idea than using Javascript. CSS is meant to provide styling and alignment, not to act as an ad-hoc scripting language.
I don't think this is an improvement on anything. It works but... ick.