Skip to content

Commit

Permalink
fix(curriculum): update description for step 83 of calorie counter pr…
Browse files Browse the repository at this point in the history
…oject (#54697)
  • Loading branch information
davidjosipovic committed May 8, 2024
1 parent 9644802 commit a0b99a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dashedName: step-83

# --description--

When the user has a calorie deficit, the `remainingCalories` value will be negative. You don't want to display a negative number in the result string.
When the user has a calorie surplus, the `remainingCalories` value will be negative. You don't want to display a negative number in the result string.

`Math.abs()` is a built-in JavaScript method that will return the absolute value of a number.

Expand Down

0 comments on commit a0b99a0

Please sign in to comment.