--- id: 5ddb965c65d27e1512d44dcb title: Step 52 challengeType: 0 dashedName: step-52 --- # --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() {} ``` # --hints-- See description above for instructions. ```js assert( code .replace(/\s/g, '') .match( /document\.getElementById\([\'\"\`]add[\'\"\`]\)\.onclick\=function\(\)\{\}/ ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

Sex
Breakfast
Lunch
Dinner
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```