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 trialnfs
35,526 PointsGRID VS FLEXBOX
Which is newer layout method? grid or flexbox? And which one is more efficient to use? Why do people often sit for a comparison between flexbox and grid? Which one is made for which purposes? Which one should I use? Which one has more bugs?
You may note as many resources as you want, regarding this topic.
Happy answering !!!
2 Answers
edwardr
10,272 PointsFor Grids vs Flexbox, it comes down to preference. Both have pros & cons.
This discussion may give you a good answer: https://teamtreehouse.com/community/grid-vs-flexbox
A great way to see what works best is to try each one out and see which you like working with the most.
You can also learn and use both.
Flexbox was introduced first.
FB has 1,500 bugs and Grids has 1600 bugs. No, not really, just made it up. Not sure if number of bugs is a good metric. The best metric is if it works well for your projects. Everything has bugs, even your jar of peanut butter. ;-)
There are a ton of reviews on line if you want more detailed info. Just search “grid vs flexbox.”
Hope this helps. Keep the inquiring and learning.
Happy Coding…Edward
nfs
35,526 PointsThat was very helpful... Edward. Thank you.