--- title: Use the Bootstrap Grid to Put Elements Side By Side --- # Use the Bootstrap Grid to Put Elements Side By Side ## Problem Explanation Bootstrap uses a responsive grid system that makes it easier to put elements into rows and tell each element's relative width. ![Bootstrap 12 column grid layout](https://www.evernote.com/shard/s116/sh/f0944d97-08b8-4615-8273-a327bf41fb05/de1a3acbceef89ae/deep/0/) Note that in this illustration, the `col-md-_` class is being used. Here, md means medium, and _ is a number specifying how many columns wide the element should be. In this case, the column width of an element on a medium-sized screen, such as a laptop, is being specified. --- ## Solutions
Solution 1 (Click to Show/Hide) ```html

CatPhotoApp

Click here for cat photos.

A cute orange cat lying on its back. Three kittens running towards the camera.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```