Bootstrap for beginners

When I first showed up at Knight Lab, I heard a lot about a thing called Bootstrap. In particular, one student fellow was hesitant to use it, much to the disbelief of the staff and guests who dropped by.

“How can you not use Bootstrap?” one said. “Practically half the internet is built on it.”

Well, I thought. That sounds important. I’d best try this out.

While I can’t speak to the statistic of half the internet being Bootstrap-based, I can see why it is exploding in popularity.

For those foreign to it, Bootstrap is a collection of HTML, CSS and Javascript, the three building blocks of website development, predesigned and packaged for you. Originally developed by Twitter, it’s been released to the public for general use.

Bootstrap doesn’t ask you to learn anything fancy to use it. Even Wordpress, the holy grail of do-it-yourself websites, can sometimes be a head-scratcher. It is remarkably easy to use Bootstrap to set up your first website and you need minimal software or training to do it.

To set up your first website, get yourself an editor, like Notepad ++ or Sublime Text. These are free and perfectly capable of doing anything that you need, though there are paid editors as well.

Open your fancy new editor toy. On the main Bootstrap page, scroll down the page until you see ‘Basic HTML’. Copy that into your text editor. (Bootstrap even has a slightly condescending, but well-intentioned little ‘copy’ button in the top right hand corner.)

Then download the basic Bootstrap (labelled ‘Bootstrap’) package from the website. Don’t worry about the Less and Sass ones – those aren’t necessary if you’re doing something simple.

Download the basic Bootstrap (that button on the left) to get started.

Your download is going to come in a compressed file – unzip it and you’ll find a few folders. These are your CSS, your Javascript and fonts. Keep these all in the same location on your hard drive, along with your HTML file. The computer does not like to split the family up.

Bootstrap provides basic HTML that help someone with a little knowledge build a site.

Note, Bootstrap doesn’t apply anything to your HTML as is. If you open your page expecting a full website ready-to-go at the outset, you’re setting yourself up for disappointment. Bootstrap has given you the doll and the clothes. It is your job to dress it up.

You now have an open sandbox. If you know what you’re doing, you can play around with what Bootstrap has given you pretty easily, building a site from scratch or playing with the different components that come in the package. If you’re jumping in to web development at the deep end, I'd recommend working through a few online tutorials that will teach you the basics of HTML and CSS and will help you make sense of all the components and assemble them.

Because of Bootstrap’s wild popularity, the internet is full of additional resources. Some are for the more advanced user, but many are useful across the board. You can see galleries of websites built with Bootstrap for inspiration, download additional components, get preset templates which are even more like ready-made websites (though these allow for less customization, less easily if you’re not entirely comfortable with HTML and CSS) and anything else an enthusiastic programmer could think of.

And Bootstrap wasn’t a one-off gift to the internet. The creators have worked to maintain it, keeping it relevant even as web developing continues to change at breakneck speed. They seem keep a keen ear to the ground on what the people want (even rewording their homepage after complaints that it didn’t explain clearly enough what Bootstrap was about.)

There is some grumbling about Bootstrap from developers across the web. For every “I love Bootstrap” article there is, there’s a companion, “Reasons never to touch Bootstrap.” These range from professional pride – a “Real Men (and Women) Don’t Need Templates” attitude – to complaints about the syntax (it isn’t written with best practices in mind) and bulky sizes (it isn’t great for anyone with a slow internet connection).

Bootstrap also isn’t ideal if you need a specific, dynamic, highly-customized interface. It would take you a lot longer to wreck a pre-customized template and rework it than it would to build the thing yourself. If you’re looking for a younger, sexier website to do things your other website won’t do, Bootstrap is probably not your answer.

Overall, I’m an ardent fan. Bootstrap delivers on its promise. It isn’t applicable for all projects, but it never claimed to be. If you need something quick, easy and remarkably well-designed, it is a more than acceptable solution.

Latest Posts

  • Introducing StorylineJS

    Today we're excited to release a new tool for storytellers.

    StorylineJS makes it easy to tell the story behind a dataset, without the need for programming or data visualization expertise. Just upload your data to Google Sheets, add two columns, and fill in the story on the rows you want to highlight. Set a few configuration options and you have an annotated chart, ready to embed on your website. (And did we mention, it looks great on phones?) As with all of our tools, simplicity...

    Continue Reading

  • Join us in October: NU hosts the Computation + Journalism 2017 symposium

    An exciting lineup of researchers, technologists and journalists will convene in October for Computation + Journalism Symposium 2017 at Northwestern University. Register now and book your hotel rooms for the event, which will take place on Friday, Oct. 13, and Saturday, Oct. 14 in Evanston, IL. Hotel room blocks near campus are filling up fast! Speakers will include: Ashwin Ram, who heads research and development for Amazon’s Alexa artificial intelligence (AI) agent, which powers the...

    Continue Reading

  • Bringing Historical Data to Census Reporter

    A Visualization and Research Review

    An Introduction Since Census Reporter’s launch in 2014, one of our most requested features has been the option to see historic census data. Journalists of all backgrounds have asked for a simplified way to get the long-term values they need from Census Reporter, whether it’s through our data section or directly from individual profile pages. Over the past few months I’ve been working to make that a reality. With invaluable feedback from many of you,......

    Continue Reading

  • How We Brought A Chatbot To Life

    Best Practice Guide

    A chatbot creates a unique user experience with many benefits. It gives the audience an opportunity to ask questions and get to know more about your organization. It allows you to collect valuable information from the audience. It can increase interaction time on your site. Bot prototype In the spring of 2017, our Knight Lab team examined the conversational user interface of Public Good Software’s chatbot, which is a chat-widget embedded within media partner sites.......

    Continue Reading

  • Stitching 360° Video

    For the time-being, footage filmed on most 360° cameras cannot be directly edited and uploaded for viewing immediately after capture. Different cameras have different methods of outputting footage, but usually each camera lens corresponds to a separate video file. These video files must be combined using “video stitching” software on a computer or phone before the video becomes one connected, viewable video. Garmin and other companies have recently demonstrated interest in creating cameras that stitch......

    Continue Reading

  • Publishing your 360° content

    Publishing can be confusing for aspiring 360° video storytellers. The lack of public information on platform viewership makes it nearly impossible to know where you can best reach your intended viewers, or even how much time and effort to devote to the creation of VR content. Numbers are hard to come by, but were more available in the beginning of 2016. At the time, most viewers encountered 360° video on Facebook. In February 2016, Facebook......

    Continue Reading

Storytelling Tools

We build easy-to-use tools that can help you tell better stories.

View More