--- id: 5ddb965c65d27e1512d44dcf title: Part 56 challengeType: 0 isHidden: true --- ## 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.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert( code.replace(/\s/g, '').match(/document\.getElementById\([\'\"\`]entries[\'\"\`]\)\.appendChild\(foodInput\)/) ); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

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