Skip to main content

Stop using JavaScript for that: moving features from JS to CSS and HTML

Kilian Valkhof

Common patterns implemented with JavaScript are being replaced with "native" CSS and HTML equivalents that end up being more performant, more accessible and more resilient. Features like accordions, Autosuggest, smooth scrolling, dialogs, parallax scrolling and more no longer need JavaScript to work. We'll walk through common JS features that now have CSS and HTML equivalents that you can use, or will soon be able to use.

Kilian Valkhof

Kilian Valkhof

Founder @ Polypane
Front-end developer with over 20 years of experience that switched from building websites to building apps to build websites with. He is interested in modern web development, desktop app development and new technologies.

To make this website run properly and to improve your experience, we use cookies. For more detailed information, please check our Cookie Policy.

  • Necessary cookies enable core functionality. The website cannot function properly without these cookies, and can only be disabled by changing your browser preferences.