A pizza order form that uses javascript objects to compute the price for a pizza with various size/topping combinations. It can be seen in action at https://breaclark.github.io/pizza-order/
| Spec | Input | Output |
|---|---|---|
| Program returns total of $5 when smallest most basic pizza is ordered | Pick all default values (or do not change any selects) | Pizza is $5 |
| Program adds $3 to total for each step up in size | Size large is selected, otherwise all default values | Pizza is $14 |
| Program adds $1 to total for each step up in crust | Size mini is selected, crust "Thin and Crispy" is selected | Pizza is $5 + $1 = $6 |
| Program adds $1 to total for Barbecue Sauce | Size mini is selected, crust "Pan Pizza", and sauce "Barbecue" | Pizza is $5 + $1 = $6 |
| Program adds $1 to total for Mozarella Cheese | Size mini is selected, crust "Pan Pizza", sauce "Marinara", and cheese "Mozarella" | Pizza is $5 + $1 = $6 |
| Program adds $1 to total for each meat or veggie topping | Size mini is selected, crust "Pan Pizza", sauce "Marinara", cheese "House Cheese Mix", meat "Ham", and veggies "Tomatoes" | Pizza is $5 + $1 + $1 = $7 |
| Program adds $3 to total for each specialty topping | Size mini is selected, crust "Pan Pizza", sauce "Marinara", cheese "House Cheese Mix", specialty "Sliced Potatoes" | Pizza is $5 + $3 = $8 |
- Clone this repository
- Open in a browser
- No known bugs.
- HTML
- CSS
- Javascript
- Jquery
Email me at breatortilla@gmail.com for support
Copyright (c) 2018 Brea Clark