---
id: 5ddb965c65d27e1512d44d9e
title: Part 5
challengeType: 0
isHidden: true
---
## Description
By default, `onsubmit` will pass the event object as a parameter to the function it calls.
People usually call it `e`, short for event.
Update the `calculate()` function to accept `e` as parameter.
Here is an example of an empty function called `square` that takes a `number` as a parameter:
```js
function square(number) {}
```
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(calculate.toString().match(/function calculate\(\s*e\)\s*\{\s*\}/));
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html