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 Modular CSS with Sass Sass Grid System Review: Sass Grid System

Sass grid final quiz. I tried solving it and i get wrong answer. I don't understand why. Can someone help me?

Currently, the $context variable is scoped to the loop, so it's unable to pass a value in the .grid_________col rule. Write the flag that will allow us to use the $context variable anywhere.

// Column loop

@for $i from 1 through $cols { $context: context($w, $cols, $gutter) ________________; $target: ($w * $i) + ($gutter * ($i - 1)); .grid_____col#{$i} { width: percentage($target/$context); } } .grid____ col { margin-left: percentage($gutter/$context); }

I'm sure that the second answer is !global. At the other ones i put __. What is wrong?

5 Answers

Guil just replied to me on Twitter it's a bug he'll fix it asap.

I think really the only answer needed was !global lol

Guil's Answer

Awesome—thanks for sharing. I guess maybe I need to embrace this whole Twitter thing... ;)

big thanks for your effort

I'm stuck here as well hopefully Guil Hernandez can help us

I'm also stuck!

It's been fixed

made it through but i didnt received a badge. only "+6" points"... its the second time this happens to me now :'(

Check if you have everything checked on that section

Everything is checked :)

Thank you!