Live data from Hacker News

Ask HN: What if you didn't need JavaScript?

news.ycombinator.com

1–7 of 7 posts

Ask HN: What if you didn't need JavaScript?

#1
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.

Re: Ask HN: What if you didn't need JavaScript?

#5
post #4
post #3

Earlier quoted context omitted.

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!

Re: Ask HN: What if you didn't need JavaScript?

#7
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.