Jasmine is writing a shopping app. She has created a variable to keep track of the number of items in the shopping cart. Every time someone clicks the "addItemButton", she would like the variable to increase by 1.
What code should Jasmine insert where it says in order for her app to work? a) cart total = 1;
b) cartTotal + 1;
c) cartTotal = cartTotal + 1;
d) var cartTotal = cartTotal + 1;
+4
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Jasmine is writing a shopping app. She has created a variable to keep track of the number of items in the shopping cart. Every time someone ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Jasmine is writing a shopping app. She has created a variable to keep track of the number of items in the shopping cart. Every time someone clicks the "addItemButton", she would like the variable to increase by 1.