--- id: 5ddb965c65d27e1512d44dcf title: Part 56 challengeType: 0 dashedName: part-56 --- # --description-- Notice that parent container of all of the inputs has an `id` of `entries`: `
`. Get a reference to the document element with the `id` attribute `entries` and append the `foodInput` element to it by chaining on the `.appendChild()` function. This is similar to the other `appendChild()` methods that you have used previously. # --hints-- See description above for instructions. ```js assert( code .replace(/\s/g, '') .match( /document\.getElementById\([\'\"\`]entries[\'\"\`]\)\.appendChild\(foodInput\)/ ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

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