--- id: 5ddb965c65d27e1512d44db5 title: Part 30 challengeType: 0 isHidden: true --- ## Description
Next, we will create a text node that we will later append to the `result` element. JavaScript has a function called `createTextNode()` to accomplish this. For example: ```js const myText = document.createTextNode("Hello world!") ``` Create a variable named `resultText` and set it equal to a text node. Leave the string empty for now.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert(/const\s*resultText\s*=\s*document\.createTextNode\([\'\"\`]?\s*[\'\"\`]?\)/.test(code)); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

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