Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Compass Basics Getting Started with Compass Getting Started with Compass

Jonathan Sebastiao
Jonathan Sebastiao
14,271 Points

Getting Started With Compass Code Challenge 2 Of 5

Help I am unsure what is wrong with my code

Let's see your code. Which question are you on?

If you look just below the text box area you will see something that says Markdown Cheetsheet. Also, there is a post here titled: Posting Code to the Forum by Dave McFarland. If you don't understand that maybe this will make sense: How to display code at Treehouse.

5 Answers

Hi Jonathan,

try adding a semicolon to the end of @import "compass/css3"

Jeff

Nice catch!

Jonathan Sebastiao
Jonathan Sebastiao
14,271 Points

Getting Started With Compass Challenge 2 of 5

I have to make a Linear Gradient With a Background Mixing With Start Color #3d69b5 and Stop Color #1a335e

/* Write your SCSS code below. */

// Imports
@import "compass/css3"

// Variables


// Page Styles

body {
@include background(linear-gradient(#3d69b5, #1a335e));
}

I think you need to replace background with background-image. I hope that helps!

Jonathan Sebastiao
Jonathan Sebastiao
14,271 Points

I've tried that as well and still won't work and I tried on a different browser as well I might have to try it again later.