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 Sass Basics (retired) Getting Started with Sass Installing and Using Sass

Michael Plemmons
Michael Plemmons
9,393 Points

errors when compiling

This message shows up in my command prompt window and my css file when making changes in the scss file.

*/ Error: Invalid CSS after "black": expected expression (e.g. 1px, bold), was ";" on line 2 of styles.scss.txt

1: p { 2: color: black; 3: }

I just use a regular text editor (notepad). I changed the file ext. to scss, but it still has .txt at the end. Could this be related to my issue? The css itself looks fine.

2 Answers

Michael Plemmons
Michael Plemmons
9,393 Points

Nevermind, I figured it out. apparently it didn't like a simple text editor. I used Aptana Studio 3, which took me a minute to figure out how to start a sass file.

Caleb Kleveter
Caleb Kleveter
Treehouse Moderator 37,862 Points

Michael Plemmons , I thought I might let you know I changed your comment to an answer. This allows you to be up-voted, and awarded with best answer! I marked it best, if you ever have any you answer to yourself like you just did, you should mark it also.