Complete the code to loop over the list and print each color.
@each $color in [1] { color: $color; }
$ before the list variable.The @each loop requires a list variable with a $ prefix. Here, $colors is the correct list variable.
Complete the code to loop over the list $sizes and set font-size.
@each $size in [1] { font-size: $size; }
$ in the list variable.The list variable is $sizes. The loop variable is $size, but the list to loop over must be $sizes.
Fix the error in the loop to correctly iterate over $fonts.
@each $font in [1] { font-family: $font; }
$ in the list variable.The list variable must have the $ prefix and match the list name $fonts. Using fonts without $ causes an error.
Fill both blanks to loop over $shapes and set border-radius.
@each [1] in [2] { border-radius: $shape; }
$.The loop variable is $shape and the list variable is $shapes. Both need the $ prefix.
Fill all three blanks to loop over $borders and set border styles.
@each [1] in [2] { border-style: [3]; }
$.$ when using the loop variable inside the property value.The loop variable is $border, the list variable is $borders, and the property value uses the loop variable $border.