Bootstrap navigation bar without JavaScript

Bootstrap is distributed with a JavaScript file called bootstrap.js which requires jQuery. This file allows, among other things, making the navigation bar work when there are dropdown menus, and toggle the navigation links, which are hidden in low-resolution screens.

The problem is that Bootstrap doesn't offer the same basic functionality without JavaScript. Namely, if you don't have JavaScript enabled, you cannot access the dropdown menu nor toggle the navigation menu in mobile or low-resolution devices. However, it's possible to offer this features without JavaScritp. In this article I show you how to do it.

Keep reading Bootstrap navigation bar without JavaScript