You Might Not Need JavaScript

javascript-logo-banner

In the spirit of You Might Not Need jQuery, and just like You Don’t Need JavaScript, the website “You Might Not Need JavaScript” contains a truckload of examples with CSS alternatives for interface components that are typically built with/powered by JavaScript.

JavaScript is great, and by all means use it, while also being aware that you can build so many functional UI components without the additional dependancy.

Maybe you can include a few lines of utility code, or a mixin, and forgo the requirement. If you’re only targeting more modern browsers, you might not need anything more than what the browser ships with.

Modals, Tab Interfaces, Image Sliders, Lightbox, Scroll Indicators, … it’s all there. Without any line of JS.

You might not need JavaScript →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.