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 trialPeter Huang
5,427 Pointsdo web developers even use tables?
It seems like tables are really easy to learn and im surprised it's not taught earlier in front end stages on tree house.
But my main question is, do web developers even use tables? It seems like CSS, grid and flexbox can get these done.
1 Answer
Steven Parker
231,248 PointsYou're exactly right. Long ago, tables were the only choice available and were used extensively. But newer and more flexible CSS developments including flexbox and grid have become the techniques of choice for layout. They also help maintain the "separation of concerns" developmental model where HTML handles content, CSS handles presentation, and JavaScript handles functionality.
And yes, tables still do get used now and then; but mainly for special circumstances such as dealing with browser compatibility issues and code generators. Just consider them one more tool in your toolbox.