---
id: 5ddb965c65d27e1512d44da5
title: Part 12
challengeType: 0
isHidden: true
---
## Description
We need a way to iterate through all the `meal` items in the `total` array and return the values that the user entered as an array.
The `map()` method allows us to do exactly that.
Delete `const meal = total[0];` and chain the `.map()` method to the end of your `Array.from()` method.
Here's an example of `.map()` chained to an array: `[3, 2, 1].map()`
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert( code.toString().replace(/\s/g, '').match(/Array\.from\(document\.getElementsByClassName\([\'\"\`]cal\-control[\'\"\`]\)\)\.map\(\)\;?/) );
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html