--- id: 5ddb965c65d27e1512d44dcb title: Part 52 challengeType: 0 isBeta: true --- ## Description
We want a function to run every time the user clicks the "Add Entry" button. Chain the `onclick` property to the end of `document.getElementById('add')` and set it equal to an empty function: ```js function() {} ```
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert( code.replace(/\s/g, '').match(/document\.getElementById\([\'\"\`]add[\'\"\`]\)\.onclick\=function\(\)\{\}/) ); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

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