Help with this part of the challenge

Tell us what’s happening:
what did I do wrong?

Your code so far


<details><summary>Solution 1 (Click to Show/Hide)</summary>

```html
<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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36.

Challenge: Use @each to Map Over Items in a List

Link to the challenge:

Hi!

  1. delete:
<details><summary>Solution 1 (Click to Show/Hide)</summary>

```html
  1. Add before @each

$colors: (color1: blue, color2: black, color3: red);

  1. in @each replace

in blue, black, red

with:

in colors

1 Like

Oh… I already managed to finish it, but thanks anyway!