Blog articles

5 Reasons You Should Use Bootstrap

By Pluralsight    |    January 20, 2015

What do LyftApple, and Meteor have in common? Aside from all being on the cutting edge, each of these companies uses Bootstrap to add structure and style to their sites and get them up and running quickly. Bootstrap isn’t just for startups or minimum viable products, although it works well for both — it’s also for established companies who want a common framework to standardize the front end of their website.

If you’re on the fence about whether or not Bootstrap is right for you, here are a few reasons why Bootstrap can help rocket your site to the next level.

1. The Most Popular Framework

Bootstrap has been around since 2011 and is the most popular HTML, CSS, and JavaScript framework. What jQuery is for JavaScript, Bootstrap is for the entire front end. With its popularity comes a battle-tested framework that works well in so many more browsers than you’ll probably ever want to test in.

2. A Quick Start

After downloading the framework, there are a bunch of examples on the Bootstrap web page with code you can use right now to get your site started. Want a bloglayout? Use Bootstrap’s as a starting point and build on it. What about a sign-in page? Bootstrap has you covered.

3. Structure your Site using Grid System

When starting a new site from scratch, one of the first things I always have to do is plan out my main areas of the site, then decide which are going to float in which direction, how wide each one will be, and eventually get it just right. Even then it probably only looks good in one resolution.

Bootstrap cuts the entire CSS part out of the process and allows you to leverage their grid system, a 12-column format that makes structuring your page easy without needing to know about floats or the oddities therein. Once you understand the basics of Bootstrap’s grid system, it’s no trouble to customize your site to look just how you want it to on tablets or phones.

4. A Standard for the Team

When working on a team, setting standards helps your code base grow and get new developers up to speed fast. At Code School, we use MVCSS for organizing our CSS, which provides a formal standard for all the sites we build. A standard — any standard — is an amazing step toward making collaboration easy and reducing friction. Bootstrap won’t help you organize your non-Bootstrap code, but it will minimize the amount you write, leaving you more time to figure this out. It also covers a number of core parts you would otherwise need to develop your own team standard to follow.

5. Use JavaScript Plugins Without Writing JavaScript

Writing JavaScript can be a little daunting if you’ve never tried it. Bootstrap is a good intermediate step that allows you to use quite a few useful Bootstrap JavaScript plugins without writing any JavaScript. It builds on jQuery as well, so if you want to jump in and write some JavaScript, you’ll have the most popular JavaScript framework at your disposal (and a great, free Code School course in Try jQuery to help you out).

Let’s say you wanted to use Bootstrap’s dropdown plugin, like we use for the “About” link in our demo site. If you wanted to do it using JavaScript, it might look a little something like this:

In order to understand this little bit of JavaScript, there’s a lot you need to know! If you’re fluent in jQuery, this code might not be too daunting, but it’s still a lot more work than the alternative. Bootstrap makes this process a little easier by letting you achieve this same functionality by only editing HTML.

In order to understand this little bit of JavaScript, there’s a lot you need to know! If you’re fluent in jQuery, this code might not be too daunting, but it’s still a lot more work than the alternative. Bootstrap makes this process a little easier by letting you achieve this same functionality by only editing HTML.

Blast Off Today

If you’re looking to learn Bootstrap, get started today with Code School’s latest Bootstrap course, Blasting Off With Bootstrap! With 5 levels and 8 videos, this course covers everything you need to get started learning Bootstrap, or learn some helpful ways to use Bootstrap that you might not even know are possible. Let us know how you’ve used Bootstrap and what you think of the course in the comments below!

About the author

Pluralsight is the technology skills platform. We enable individuals and teams to grow their skills, accelerate their careers and create the future.