Add prompt comment
Slight edits to alert, prompts and result variables
Edit variables and add ternary statement