How to use mapping

Tell us what’s happening:

Your code so far

<style type='text/sass'>
  $colors: (color1: blue , color2: black , color3: red);

  @each $key, $color in $colors {
    .#{$color}-bg {background-color: $color;}

  div {
    height: 200px;
    width: 200px;

<div class="blue-bg"></div>
<div class="black-bg"></div>
<div class="red-bg"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

Your code works on my browser.

Try using a different browser/updating to the current version/clean your caches and cookies.

so it passes just fine huh? Thank you sir ill reload in fire fox