Obviously you have completed a list of candies today, similar to the project that I have here. If you open the link, you will see the code below. You have completed the code in the purple box in class. As a nice teacher, I have done your HW as promised by adding the code in the blue box. It's suppose to count the total number of your favorite candy, but unfortunately, two lines of code were messed up by a pineapple. Can you tell which lines were messed up and maybe, just maybe, fix it? (Hint: it's a simple drag and drop fix)
top of page
bottom of page