Skip to content

breaclark/pizza-order

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizza Order

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/

By Brea Clark

Specs

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

Setup/Installation Requirements

  1. Clone this repository
  2. Open in a browser

Known Bugs

  • No known bugs.

Technologies Used

  • HTML
  • CSS
  • Javascript
  • Jquery

Support and contact details

Email me at breatortilla@gmail.com for support

License

Copyright (c) 2018 Brea Clark

About

M1-D20 Independent Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published