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.

Ruby

Running into error message for map even though it is built the same way a previous map that is running as valid.

the first map, $breakpoints, was saved and validated. The $themes map is running into an error on the console that reads error scss/utilities/_variables.scss (Line 42: Invalid CSS after "$themes": expected selector or at-rule, was ": (")

$breakpoints: (
  'xs': 575px,
  'sm': 576px,
 'med': 768px,
  'lg': 992px,
)

// Theme colors

$themes: (
  ent: #79ccf5,
 arch: #fd6fa6,
  edu: #23bbae,
  sim: #2377bb,
  soc: #ada3f0,
games: #3cd144,
    )

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,440 Points

Theresa, we need more context. Is this some kind of exercise on Treehouse? Can you show us the code in a wider context?