--- id: 5ddb965c65d27e1512d44db7 title: Step 32 challengeType: 0 dashedName: step-32 --- # --description-- Notice how if `total` is less than `maxCalories`, `difference` is a negative number. We want to show the absolute value of the difference so it displays "300" rather than "-300". Wrap the `difference` in a `Math.abs()` function. # --hints-- See description above for instructions. ```js assert( /const\s*resultText\s*=\s*document\.createTextNode\(\s*Math\.abs\(\s*difference\s*\)\s*\)/.test( code ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

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