diff --git a/guide/english/certifications/front-end-libraries/sass/use-each-to-map-over-items-in-a-list/index.md b/guide/english/certifications/front-end-libraries/sass/use-each-to-map-over-items-in-a-list/index.md index 543785663e..7ee05ce71d 100644 --- a/guide/english/certifications/front-end-libraries/sass/use-each-to-map-over-items-in-a-list/index.md +++ b/guide/english/certifications/front-end-libraries/sass/use-each-to-map-over-items-in-a-list/index.md @@ -3,11 +3,31 @@ title: Use @each to Map Over Items in a List --- ## Use @each to Map Over Items in a List -## Solution +The @each directive loops over a list and for each iteration the variable is assigned the value in the list. -```sass +## Example: + +```html + +
+
+
+``` + +## Solution + +```html +
@@ -23,7 +44,6 @@ title: Use @each to Map Over Items in a List
``` - The solution above will generate the following CSS: ```css