--- id: 5ddb965c65d27e1512d44dc5 title: Part 46 challengeType: 0 dashedName: part-46 --- # --description-- Another way that we can set the text of the `consumed` element is to set the `innerHTML` property. For example: ```js consumed.innerHTML = `Hello world`; ``` Set the inner HTML of `consumed` to "XX Consumed Calories", where "XX" is the `total` variable that was previously created. Use template literals. # --hints-- See description above for instructions. ```js assert( code .replace(/\s/g, '') .match(/consumed\.innerHTML\=\`\$\{total\}ConsumedCalories\`/) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

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