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 trialDavid Drysdale
10,815 PointsIs Flexbox parallel to Bootstrap, or something different?
Is Flexbox a framework, like Bootstrap? Or it is something different?
I wonder because I read somewhere that while Bootstrap is good for generating a layout quickly, it should be avoided for actual projects because of it takes control out of the developer's hands. I was wondering if this is an issue to be concerned about with Flexbox as well.
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey David,
No, Flexbox is not a framework and thus not similar to Bootstrap. Flexbox (or Flexible Boxes) is a part of CSS3. Bootstrap is an independent Framework that needs to be downloaded to be used.
You can read more on CSS3 Flexbox on MDN
:)
Learning coding
Front End Web Development Techdegree Student 9,937 PointsMy question is connected to the question of David. I use a personal project for learning front end web development. Is it true that bootstrap should be avoided for actual projects? I do feel like bootstrap is taking some control away, but I am not sure about that.
David Olson
8,690 PointsHi Rene,
Yes technically bootstrap is taking some control away from the developer, but in most cases it is well worth it due to the time savings and overall convenience. You have the most control with plain HTML/CSS of course, but if bootstrap does what you need, usually there is not a need to reinvent the wheel. Also you do have full access to the boostrap CSS so if you want to examine it closer you would be able to.
Jeremy Castanza
12,081 PointsI think the thing to keep in mind with Bootstrap is its weight. For a single page website, Bootstrap could be overkill rather than just defining some simple media queries to achieve a responsive layout. I've used it on production projects though - so it all depends upon what you're trying to achieve. Bootstrap is really great for developing prototypes.