This is version 3 of my Conditionals Wacky JavaScript file.
I have added my Ternary conditional to the calories calculator.
based on user input regarding calories gained and burned throughout the day it tells the user if he lost or gained weight.