--- id: 5ddb965c65d27e1512d44ddd title: Part 70 challengeType: 0 isBeta: true --- ## Description
We need to remove all elements with the class name `food-control` that are added when the user clicks the "Add" button. Inside the function body of `clearForm`, create a variable named `foodInputs` and set it equal to an array of elements with the class name `food-control`. This is similar to how you declared the `total` variable previously in the `calculate` method.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert( code.replace(/\s/g, '').match(/const\s*foodInputs\s*=Array\.from\(document\.getElementsByClassName\([\'\"\`]food\-control[\'\"\`]\)\)/) ); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

Sex
Breakfast
Lunch
Dinner
```
### After Test
```html ```
## Solution
```html ```