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

General Discussion

Cynthia Norwood
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Cynthia Norwood
Front End Web Development Techdegree Graduate 15,214 Points

This ($g-col-count -1)); is not working at all for me??

From the video here is what I typed into workspaces. // Set the "context" width for the grid

@function g-context($g-col-width, $g-col-count, $g-gutter-width) { LINE 26 $g-context: ($g-col-width * $g-col-count) + ($g-gutter-width * ($g-col-count -1)); @return $g-context; } Here is the error. line 26 undefined operation: line 26"20 times 12 -1". the line 26 above is only visible here in the question to point out the line. This is copied exactly from the course module??? I don't understand this error?

1 Answer