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 The Solution

Sean Flanagan
Sean Flanagan
33,235 Points

Practice Flexible CSS Grid Layout: My solution

Hi Guil.

Thanks for this workshop. I enjoy learning from you.

I compared my solution with yours and I think I know why mine didn't work: because I used .container instead of .main-content.

Here's a snapshot if anyone wants to offer constructive feedback and/or share their own solution:

https://w.trhou.se/x8azk6ptw7

Cheers

Sean

3 Answers

Yup you're totally right. You need to apply the correct class name to the CSS style rule.

Sean Flanagan
Sean Flanagan
33,235 Points

Got it. Thanks Jacob.

Sean :-)

Your solution would also auto-fit the maximum number of 60px wide columns, after creating a single column at the end/right that has a minimum of 280px and max of 1 fraction of the available space.

Not quite right… but very close.