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

  • Building a Community for VR and AR Storytelling

    In 2016 we founded the Device Lab to provide a hub for the exploration of AR/VR storytelling on campus. In addition to providing access to these technologies for Medill and the wider Northwestern community, we’ve also pursued a wide variety of research and experimental content development projects. We’ve built WebVR timelines of feminist history and looked into the inner workings of ambisonic audio. We’ve built virtual coral reefs and prototyped an AR experience setting interviews...

    Continue Reading

  • A Brief Introduction to NewsgamesCan video games be used to tell the news?

    When the Financial Times released The Uber Game in 2017, the game immediately gained widespread popularity with more than 360,000 visits, rising up the ranks as the paper’s most popular interactive piece of the year. David Blood, the game’s lead developer, said that the average time spent on the page was about 20 minutes, which was substantially longer than what most Financial Times interactives tend to receive, according to Blood. The Uber Game was so successful that the Financial...

    Continue Reading

  • With the 25th CAR Conference upon us, let’s recall the first oneWhen the Web was young, data journalism pioneers gathered in Raleigh

    For a few days in October 1993, if you were interested in journalism and technology, Raleigh, North Carolina was the place you had to be. The first Computer-Assisted Reporting Conference offered by Investigative Reporters & Editors brought more than 400 journalists to Raleigh for 3½ days of panels, demos and hands-on lessons in how to use computers to find stories in data. That seminal event will be commemorated this week at the 25th CAR Conference, which...

    Continue Reading

  • Prototyping Augmented Reality

    Something that really frustrates me is that, while I’m excited about the potential AR has for storytelling, I don’t feel like I have really great AR experiences that I can point people to. We know that AR is great for taking a selfie with a Pikachu and it’s pretty good at measuring spaces (as long as your room is really well lit and your phone is fully charged) but beyond that, we’re really still figuring...

    Continue Reading

  • Capturing the Soundfield: Recording Ambisonics for VR

    When building experiences in virtual reality we’re confronted with the challenge of mimicking how sounds hit us in the real world from all directions. One useful tool for us to attempt this mimicry is called a soundfield microphone. We tested one of these microphones to explore how audio plays into building immersive experiences for virtual reality. Approaching ambisonics with the soundfield microphone has become popular in development for VR particularly for 360 videos. With it,...

    Continue Reading

  • Audience Engagement and Onboarding with Hearken Auditing the News Resurrecting History for VR Civic Engagement with City Bureau Automated Fact Checking Conversational Interface for News Creative Co-Author Crowdsourcing for Journalism Environmental Reporting with Sensors Augmented Reality Visualizations Exploring Data Visualization in VR Fact Flow Storytelling with GIFs Historical Census Data Information Spaces in AR/VR Contrasting Forms Of Interactive 3D Storytelling Interactive Audio Juxtapose Legislator Tracker Storytelling with Augmented Reality Music Magazine Navigating Virtual Reality Open Data Reporter Oscillations Personalize My Story Photo Bingo Photojournalism in 3D for VR and Beyond Podcast Discoverability Privacy Mirror Projection Mapping ProPublica Illinois Rethinking Election Coverage SensorGrid API and Dashboard Sidebar Smarter News Exploring Software Defined Radio Story for You Storyline: Charts that tell stories. Storytelling Layers on 360 Video Talking to Data Visual Recipes Watch Me Work Writing and Designing for Chatbots
  • Prototyping Spatial Audio for Movement Art

    One of Oscillations’ technical goals for this quarter’s Knight Lab Studio class was an exploration of spatial audio. Spatial audio is sound that exists in three dimensions. It is a perfect complement to 360 video, because sound sources can be localized to certain parts of the video. Oscillations is especially interested in using spatial audio to enhance the neuroscientific principles of audiovisual synchrony that they aim to emphasize in their productions. Existing work in spatial......

    Continue Reading

Storytelling Tools

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

View More