[Student cannot code for money amount decreasing with candy purchases.]
Link to the project or level: Code.org - App Lab
What I expect to happen: [student wants the money amount to decrease when candy is clicked]
What actually happens: [this does not happen at all]
Is there a variable where you want to keep track of the current amount of money? I see var money = 0;
but money
isn’t use anywhere. How would you make this the variable that holds the current amount of money available?
1 Like
THANK YOU! I am trying to lead her to his conclusion. I appreciate your assistance so much