sandwich-quiz is an application for sandwich ordering in a desktop browser. It was built for an assignment while I was attending Nashville Software School as part of Cohort 10.
Users can choose to order a sandwich, select toppings, and are presented with a "sandwich" according to their specifications.
- Create a Sandwich object.
- Create 6 keys on the object all defaulted to a value of false a. pickle: false b. lettuce: false c. tomato: false d. ketchup: false e. mustard: false f. mayo: false
- Create different functions where each one can change the value of only one of the keys on a Sandwich object to "true".
- Create a function named "makeMeASandwich".
- That function should take 6 arguments - one for each condiment on the sandwich.
- If any of those 6 argument values are true, put that condiment on the sandwich.
- Write to the document something like this... "My sandwich has pickle, ketchup, mustard on it"