Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
p5js-week-12 [2022/07/16 08:02] renickp5js-week-12 [2022/07/16 08:03] renick
Line 42: Line 42:
       topping = "butter"       topping = "butter"
     }     }
-    else topping = customerOrder+    else {topping = customerOrder
     console.log ("This toast should have " + topping + " on it.")     console.log ("This toast should have " + topping + " on it.")
 +    }
     return topping     return topping
   }   }
  • p5js-week-12.txt
  • Last modified: 2 years ago
  • by reina.chen