--- id: 5ddb965c65d27e1512d44ddb title: Part 66 challengeType: 0 isBeta: true --- ## Description
The `clearOutput` function is called when the user clicks the "Clear" button. But it also needs to be run when the user clicks the "Calculate" button. In the `calculate()` function, right after `event.preventDefault()`, call the `clearOutput` function.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert( calculate.toString().match(/clearOutput\(\)/) ); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

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