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!

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

Eric Nevitt
Eric Nevitt
4,914 Points

CSS Grid

I get the concept of the grid, but I have a question about it. Do you have to use the entire grid? IE start with 1000px and work your way down to 61px or can you pick and choose how you use the grid.

4 Answers

James Barnett
James Barnett
39,199 Points

I suppose it depends on why you are using a grid in the first place.

Can you create a codepen to show us what you mean?

Eric Nevitt
Eric Nevitt
4,914 Points

I'm not sure what video it is but http://teamtreehouse.com/library/websites/build-a-simple-website/styling-content here's the link to the videos that talk about the grid.

James Barnett
James Barnett
39,199 Points

@Eric -

There's a great discussion in the Framework Foundations badge which covers the basics of creating and applying a grid.


If you are referring to the Build a Basic Website project, you should probably stick to using the grid as Nick does in the videos, that will make it easier to follow along later on with the Build a Responsive Website course.


A similar question recently came up in [another thread]((https://teamtreehouse.com/forum/should-i-be-using-grids-for-a-layout)

Should I be using grids for layout:

I wouldn't worry about it until you've completed that the Learn HTML & CSS Learning Adventure, then you will understand what a CSS grid is, how it's made and when you should (or shouldn't) use one.

Eric Nevitt
Eric Nevitt
4,914 Points

Should I use the entire grid? Or can I just use select pieces that I need?