This webpage allows a user to order a pizza with options such as size and toppings. Page demonstrates use of Objects, constructors and prototypes.
Spec | Input | Output |
---|---|---|
Webpage accepts user's selction of pizza size and ingredients and adds them to pizza object. | "medium", "pepperoni" | this.toppings = ["pepperoni"], this.size ="medium" |
Webpage uses a prototype function including ingredients and pizza size to compute price of a pizza object | pizza.costPrototype | if else statements to calculate price |
Program displays list of pizzas and costs | "small", "pepperoni" | $9.25 |
- Clone this repository on GitHub
- Open the index.html file in a web browser to view the webpage
- Open files using text editor (such as Atom) to view the code
N/A
kwolfenb.github.io/pizza-webpage/
Contact Kenny Wolfenberger - kennywolfenberger@gmail.com.
- HTML
- CSS
- Bootstrap
- JavaScript
- jQuery
This software is licensed under the MIT license.
Copyright (c) 2018 Kenny Wolfenberger