--- id: 5ddb965c65d27e1512d44db5 title: Step 30 challengeType: 0 dashedName: step-30 --- # --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. # --hints-- See description above for instructions. ```js assert( /const\s*resultText\s*=\s*document\.createTextNode\([\'\"\`]?\s*[\'\"\`]?\)/.test( code ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

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