You were able to serve up responsive sites before media queries thanks to Javascript, and now you can extend your responsive sites even further using progressive enhancement and some handy Javascript.

The idea behind JS is to improve the users experience on your site, so remember that what ever you do with JS there is a chance that the user won’t get it… whether that is because of their browser, internal security restrictions, device, or they might be accessing your site via a screen reader.

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.