text: //BUSINESS LOGIC
  
  function Pizza(size) {
    this.size = size;
    this.toppings = [];
  }
  
  Pizza.prototype.price = function() {
    let start = 9;
    if (this.size === 1) {
      return start = start + 0;
    } else if (this.size === 2) {
      return start = start + 3;
    } else {
      return start = start + 6;
    } 
  }
  
  // Attempt to push toppings input into toppings array in the pizza function
  //Pizza.prototype.urToppings = function() {
  //let toppings = $("#toppings").val();
  //this.toppings.push(toppings);
  //console.log(toppings);
  //}
  
  
  //USER INTERFACE AKA "THE PARTY"
  
  $(document).ready(function() {
    $("#pizzaform").submit(function(event) {
      let toppings = $("#toppings").val();
      let size = parseInt($("#size").val());
      let finalPizza = new Pizza(size);
      let finalPrice = finalPizza.price();
      $("#yourPizza").text("Your pizza price is $" + finalPrice);
      event.preventDefault();
    });
  });
  
  
  
  
  