antieva / Order-Pizza

4th weak project at Epicodus (js objects)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Order Pizza

A a website for a pizza company where a user can choose one or more individual toppings, sauce, cheese and a size to order a pizza and see the final cost.

By Eva Antipina

Description

This webpage where user can order pizza of a few size variety, with user choice of toppings, sauce, and cheese. The price is calculated based on user choices. The user has to choose size of the pizza: small($6.00), medium($8.00), or large($10.00), all three have different price. The user has to choose their pizza crust: original (no additional charge) or gluten-free (+ $2.00 to the original price). The user can add tj their order two types of toppings: meet (the user can get one variety of meet or all of them for the same price $1.00) or/and veggies (the user can get one variety of veggies or all of them for the same price $1.00). The user can choose one type of sauce free of charge and can add as many types of cheese as they want for $0.30 for each.

Specifications

  • The user orders small original pizza crust with no additional toppings, sauce or cheese.

    • Example Input: Pizza size checked: "small", crust checked: "original", sauce checked: "none", toppings: meet checked: "none", veggies checked: "none", cheese checked: "none".
    • Example Output: [Your order total is $6.00]
  • The user orders small gluten-free pizza crust with no additional toppings, sauce or cheese.

    • Example Input: Pizza size checked: "small", crust checked: "gluten-free", sauce checked: "none", toppings: meet checked: "none", veggies checked: "none", cheese checked: "none".
    • Example Output: [Your order total is $8.00]
  • The user orders medium original pizza crust with sauce of choice and no additional toppings or cheese.

    • Example Input: Pizza size checked: "medium", crust checked: "original", sauce checked: "none", toppings: meet checked: "none", veggies checked: "none", cheese checked: "none".
    • Example Output: [Your order total is $8.00]
  • The user orders small original pizza crust with sauce of choice, a few types of meet toppings and no veggies or cheese.

    • Example Input: Pizza size checked: "small", crust checked: "original", sauce checked: "bbq", toppings: meet checked: "bacon", "pepperoni", veggies checked: "none", cheese checked: "none".
    • Example Output: [Your order total is $7.00]
  • The user orders small original pizza crust with sauce of choice, a few types of meet and veggies toppings, and no cheese.

    • Example Input: Pizza size checked: "small", crust checked: "original", sauce checked: "bbq", toppings: meet checked: "bacon", "pepperoni", veggies checked: "artichokes", "black olives", cheese checked: "none".
    • Example Output: [Your order total is $8.00]
  • The user orders small original pizza crust with sauce of choice, a few types of meet and veggies toppings, and one choice of cheese.

    • Example Input: Pizza size checked: "small", crust checked: "original", sauce checked: "bbq", toppings: meet checked: "bacon", "pepperoni", veggies checked: "mushrooms", "basil", "red onion", cheese checked: "mozzarella".
    • Example Output: [Your order total is $8.30]
  • The user orders small original pizza crust with sauce of choice, a few types of meet and veggies toppings, and two choices of cheese.

    • Example Input: Pizza size checked: "small", crust checked: "original", sauce checked: "bbq", toppings: meet checked: "bacon", "pepperoni", veggies checked: "mushrooms", "basil", "red onion", cheese checked: "mozzarella", "ricotta".
    • Example Output: [Your order total is $8.60]

Setup/Installation Requirements

  • Clone this repository
  • Find index.html file in the repository
  • Open index.html file with your web browser of choice.

Known Bugs

None

Support and contact details

If You run into any issues or have questions, ideas, concerns or would like to make a contribution to the code, please contact Eva Antipina via email: eva.antipina@gmail.com.}

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Bootstrap
  • jQuery

License

Not licensed

Copyright (c) 2018 Eva Antipina

About

4th weak project at Epicodus (js objects)


Languages

Language:HTML 64.7%Language:JavaScript 26.4%Language:CSS 9.0%