Use @each to Map Over Items in a List (Help wanted)

Test case are not getting passed:

Your code so far


<style type='text/sass'>
  @each $color in blue,black,red{
      .#{$color}-bg {background-color:$color;}
  }
  div {
    height: 200px;
    width: 200px;
  }
</style>

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0.

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/sass/use-each-to-map-over-items-in-a-list

i copy pasted your bit, and it passed?


See the image of the same but in my case it is failing