Skip to content

kjohnston1149/pizzaOrder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizza Order

An application to create customize pizza orders, August 26 2016

By Kevin Johnston

Description

This app allows the user to create their own customized pizza and have the order tied to their address. The user first selects the size of pizza they want, along with crust type and toppings. This information is placed in a JavaScript object and used to calculate the price of the pizza. The user also must enter their name and address for delivery. This information, along with the calculated price, is displayed on the final page of the website.

Setup/Installation Requirements

  1. Clone this repository at:
  1. Move into the project folder
  2. Open index.html in the browser of your choice (we suggest Chrome)
  3. To view on web browser, open GitHub pages webpage of this application: https://kjohnston1149.github.io/pizzaOrder/

Specifications

  • Create an initial object from form inputs.

    • Example Input: [Large, medium (selected), small], [Thin-crust(selected), Regular-Crust Deep-Dish],[Cheese (selected), Pepperoni (selected), Anchovies]
    • Example Output: newPizza{"Large", Thin-crust, ["Cheese", "Pepperoni"], 0}
  • Calculate the cost based on size property in object.

    • Example Input: Large, medium (selected), small], [Cheese (selected), Pepperoni (selected), Anchovies]
    • Example Output: newPizza{"Large", Thin-crust, ["Cheese", "Pepperoni"], 12}
  • Calculate the cost using size, crust, and toppings properties in object.

    • Example Input: Large, medium (selected), small], [Cheese (selected), Pepperoni (selected), Anchovies]
    • Example Output: newPizza{"Large", Thin-crust, ["Cheese", "Pepperoni"], 11}
  • Create an Address object that includes name and specific address.

    • Example Input: Name: Kevin, Street: 123 Fake St, City: Portland, State: OR
    • Example Output: newAddress {"Kevin", "123 Fake St", "Portland", "OR"}
  • Create a prototype to display the address in common format

    • Example Input: newAddress.fullAddress();
    • Example Output: 123 Fake St, Portland, OR

Known Bugs

There are no known bugs at this time.

Support and contact details

For help, contact:

Technologies Used

This application uses HTML, CSS, JavaScript & jQuery, Bootstrap

License

This website is licensed under the MIT license

Copyright (c) 2016 Kevin Johnston

About

An application to order various types of pizza using object-oriented JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published