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 trialJonathan Sebastiao
14,271 PointsGetting Started With Compass Code Challenge 2 Of 5
Help I am unsure what is wrong with my code
5 Answers
Jeff Busch
19,287 PointsHi Jonathan,
try adding a semicolon to the end of @import "compass/css3"
Jeff
Jake Rorrer
17,788 PointsNice catch!
Jonathan Sebastiao
14,271 PointsGetting 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));
}
Jake Rorrer
17,788 PointsI think you need to replace background with background-image. I hope that helps!
Jonathan Sebastiao
14,271 PointsI'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.
Jonathan Sebastiao
14,271 PointsThanks that fixed it
Jeff Busch
19,287 PointsJeff Busch
19,287 PointsLet'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.