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

Can someone help me on the code challenge with Sass?

I need help with the very first one.

http://teamtreehouse.com/library/sass-functions

Try this:

@function double($input) {
    @return $input * 2;
}

Hope this helps!

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

Why don't you give it a try first, and than post up your code and how far you got here in the forum. From there we can help you get to the right solution.

If you are not sure how to write a Sass function, rewatch the video, or check out Sass's documentation on it here: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#function_directives

I think we're all happy to help here, but we try to not just give out answers. :)

Good luck, and I'll check back here if you can throw up what you attempted.