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

Manuel Alejandro Matus de Quevedo
PLUS
Manuel Alejandro Matus de Quevedo
Courses Plus Student 6,407 Points

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

Tomas Pavlik
Tomas Pavlik
26,726 Points

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.

Manuel Alejandro Matus de Quevedo
Manuel Alejandro Matus de Quevedo
Courses Plus Student 6,407 Points

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

Tomas Pavlik
Tomas Pavlik
26,726 Points

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 :-)

Kevin Korte
Kevin Korte
28,148 Points

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/