Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Bootstrap Installation

When downloaded the Bootstrap files configured, I unziped the file, but I saw diferent kind of files: bootstrap.css, bootstrap.min.css, bootstrap-theme.css and bootstrap.theme.min.css, and so with the JavaScript Files: bootstrap.js and bootstrap.min.js.

My question is, which files shoud I include in my HTML head tag? I will really appreciate your answers.

4 Answers

Hi, the most important is bootstrap.css or bootstrap.min.css which is the minified version of he css file (no whitespaces etc - it takes less time to download it). Js files should by added at the end of the html file (before the closing body tag.

Thanks! But what about the bootstrap-theme.css and botstrap-theme.min.css files? Does it works the same as the other files?

Hi Manuel, most of the time, you will not need the theme.css. It contains some kind of enhancements - like gradients etc. i think. If you are beginning with bootstrap, the basic bootstrap.css file will do :-)

This is how if you add the bootstrap-theme file after your base bootstrap file, how it changes your elements: http://getbootstrap.com/examples/theme/

Thanks!

Thanks a lot!