This is final version or version 4 of my Conditionals Wacky JavaScript file.
I have added comments to the ternary conditional describing the math and decision making that is taking place to tell the user
if he or she has lost or gained weight.