/pizza

Primary LanguageHTML

Order Pizza

_Create a website where a user can order a pizza _

By Maldon Meehan

Description

This is the final Epicodus student project for Intro to Programing Week 4. The assignment was to create a website for a pizza company where a user can choose one or more individual toppings (cheese, pepperoni, artichoke, anchovy, etc) and a size to order a pizza and see the final cost.

  • Allow the user to choose toppings and size for the pizza they'd like to order.
  • Create a pizza object constructor with properties for toppings and size.
  • Create a prototype method for the cost of a pizza depending on the selections chosen. Use your own formula for this.

Specifications

Behavior Input Outcome
Business Logic: Create a pizza constructor: This constructor will include size, meat, veg, extra, price pizza function
Business Logic: create a prototype for size size sm
Business Logic: create a prototype for meat meat pepperoni
Business Logic: create a prototype for veg veg onion
Business Logic: create a prototype for extra extra cheese
Business Logic: create a formula to calculate pizza price size + meat + veg = price $12
User Interface Logic: create dropdown menu size, meat, veg, extra size: small, medium, large medium
User Interface Logic: create dropdown menu size, meat, veg, extra size: small, medium, large medium
User Interface Logic: assign a value to each item small $10
User Interface Logic: parseInt input small 10
User Interface Logic: create an display for users pizza price user choses small, pepperoni, onions and extra cheese Your pizza is: $15

Setup/Installation Requirements

  • Clone this repository
  • Open a HTML file
  • Open web browser of choice

Known Bugs

  • Can currently submit without filling in Full Name input.

Support and contact details

Contact Maldon Meehan on Github for questions or concerns or to add to this project

Technologies Used

  • HTML
  • CSS
  • Bootstrap
  • JavaScript
  • jQuery

License

Copyright (c) 2016 Epicodus

This software is licensed under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.