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

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,441 Points

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