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 trialLarisa Popescu
20,242 PointsSass 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
Miguel Palau
24,176 PointsGuil 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
Miguel Palau
24,176 PointsI'm stuck here as well hopefully Guil Hernandez can help us
Lindsey Whitney
9,699 PointsI'm also stuck!
Miguel Palau
24,176 PointsIt's been fixed
Matthias J.
20,355 Pointsmade it through but i didnt received a badge. only "+6" points"... its the second time this happens to me now :'(
Miguel Palau
24,176 PointsCheck if you have everything checked on that section
Matthias J.
20,355 PointsEverything is checked :)
Larisa Popescu
20,242 PointsThank you!
Lindsey Whitney
9,699 PointsLindsey Whitney
9,699 PointsAwesomeβthanks for sharing. I guess maybe I need to embrace this whole Twitter thing... ;)
Matthias J.
20,355 PointsMatthias J.
20,355 Pointsbig thanks for your effort