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

George Bowman
3,640 PointsWhat is the point of this when I can just use the grid system and flex boxes?
Defining variables like $g-col-width
, $g-col-count
etc. I understand, this makes maintenance easier since you can change the values all in one place. But why not just use those variables in grid containers and grid items?
I'm really not getting why we go through so much effort to write all these calculations? Especially when I'm writing what is basically the same line of code in different partials to generate $target
and $context
. I cant shake the feeling that this is all so unesisrary and defeats the purpose of DRY.
What am I missing here? In what scenario is it more efficient to approach it this way rather than simply using the grid system?
Brian Jensen
Treehouse StaffBrian Jensen
Treehouse StaffHiya George Bowman!
Can you please link to the video that you are referencing, so that we can better assist in answering your question?