Tree views in CSS
> A tree view (collapsible list) can be created using only HTML and CSS, without the need for JavaScript<p>A bit tangential, but so much more should be done in CSS rather than resorting to JavaScript. One gripe I've always had are hamburger menus that fail to work with JS disabled. Most of my browsing is done with Safari on iOS and I've disabled JS on that browser since 1) I enjoy the privacy benefits 2) popup modals and other distractions are non-existent.<p>You can code a hamburger menu that opens when you click on it, without JS. Yes, CSS is not just for <i>styling</i> it can also be used for <i>functionality</i>.