--- id: 5ddb965c65d27e1512d44db7 title: Part 32 challengeType: 0 isHidden: true --- ## 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.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert(/const\s*resultText\s*=\s*document\.createTextNode\(\s*Math\.abs\(\s*difference\s*\)\s*\)/.test(code)); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

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