I can't seem to get my prompts to show up in this code for an assignment I have to do for my class. It's supposed to show the amount of award points you have at the end, but none of the prompts show up once I add additional prompts and alerts to my JS. Any advice?
var numCoffees, awardPoints;
numCoffees = prompt("How many coffees have you purchased?");
if (numCoffees == 0)
{awardPoints = 0;}
if (numCoffees == 1)
{awardPoints = 2;}
if (numCoffees == 2)
{awardPoints = 5;}
if (numCoffees == 3)
{awardPoints = 9;}
if (numCoffees > 3)
{awardPoints = ((9+2)*(numCoffees-3));}
/*Determine Preferred Customer status*/
var PreferredCustomer;
PreferredCustomer = prompt("Please say "yes" or "no" to indicate if you are a preferred customer.");
if (PreferredCustomer == "yes")
{awardPoints = awardPoints*2;}
/*Display award points*/
alert("awardPoints" + award points);