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 #checkbox:selected {}