js, alternative, web development, question 

Im all for the let's limit the godforsaken JS from our code as much as possible vibe.

But what are existing alternatives to render beautiful, nice UI with interaction and stuff ?

HTML/CSS is quite limited in that sense, or it gets complex pretty fast for those tasks.

Follow

js, alternative, web development, question 

@thisdudemorgan there's definitely a lot you can do with modern css

and it's a given there's horrible sites that overuse js for everything

but I think fully avoiding js doesn't make sense either, so imo *do* use it when it makes sense. The key is progressively enhancing the experience, with whatever features are available, and that goes for CSS just as much as JS

but for your question, the various 'attribute' css selectors can definitely be used for a bunch of change-on-interaction things,
or a custom clicky element that's a label for a hidden checkbox, then changing css on :selected {}

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.