<In what way does your code behave incorrectly? Include ALL error messages.>
I’m not really stuck I just want further explanation on what “.#” does and how it works.
```
$list: (orange, purple, teal);
//Add your each-loop here @each $item in $list {
.#{$item} {
background: $item;
}
}
$list: (orange, purple, teal);
//Add your each-loop here
@each $item in $list {
.#{$item} {
background: $item;
}
}
@megid, as I understand it, since this is used in a loop, or a bit of code that runs over and over until a condition is met, #{$item} will change values according to the list. Since the class name is also the css property for the color that may have caused some of the confusion.
In short. # or string interpolation in this each-loop means it will use each value in $list and replace $item with it until it’s done. #{your-variable} is needed to output the values as string data.