---
id: 5ddb965c65d27e1512d44ddb
title: Part 68
challengeType: 0
---
## 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
### After Test
```html