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

Kit Howlett
Kit Howlett
2,428 Points

Should I start using Flexbox?

Should I start using Flexbox within my websites or should I just stick to traditional methods (i.e Floats, or grids). I am aware not all browsers support flexbox.

I am fairly new to front-end web development and want to get better at building good looking sites. Which is best for a beginner?

Thanks in advance

2 Answers

They are all good to know. Grids are classic and will never go away. Flexbox is great for responsive sites. I would say learn the tough stuff first. Make some grids or just use them, use floats, and then use flexbox. I find learning the hard stuff first is easier and it builds a solid foundation. Nothing wrong with making a onepage site and learn flexbox while studying grids.

I think there is no wrong or wright where to start. In the end, if you want to get a good developer you have to know both methods. But if you want to use flexbox, there won't be problems with browser support. Only IE 8 and 9 won't support it.