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

General Discussion

2 Answers

In my opinion, it is best that you learn both. Currently, flex box has some support issues as not all browsers correctly render those elements but that's not to say we aren't moving in that direction.

You can view which browsers support flex box by visiting caniuse.com and searching flexbox. This website shows you all browser support, which browsers require vendor prefixes and which are unsupported.

It's a great tool to have while developing. I hope this helps.

Oliver Sewell
Oliver Sewell
16,425 Points

Thankyou i will learn both , im finding layout the hardest part of css so far ive already completed the layout course i will re-do it again and practice some more , which layout do you use most ?

Personally for me, it depends on the project and if i need to support older browsers. If its just a small project for codepen or something then ill use flexbox but if support is required then I'll go with a grid layout. Both accomplish the same task but flexbox is growing into becoming the norm. That is why i suggest learning both.

I enjoy using flexbox, i can't wait til it works more predictably across browsers. Hopefully soon.

Oliver Sewell
Oliver Sewell
16,425 Points

awesome ! thanks dude iv followed you on twitter , is your new portfolio site up yet? would love to check it out

I'm still designing my new portfolio but you can still check out my current site chynodeluxe.com. If you ever have any questions feel free to tag me. I'm familiar with html, css and javascript.