As HTML and CSS got new features and older browsers were no longer supported, we've been able to use less and less JavaScript for creating UI elements. Here are some examples of elements you can create with no JavaScript. Some solutions do still feel hacky and not flexible, but these are useful on smaller projects.

•4m read time•From codeadrian.hashnode.dev
Post cover image
Table of contents
Responsive text truncationStar rating inputTooltip / dropdown menuModalFloating label inputToggle / Accordion
5 Comments

Sort: