Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
//Let's create a pizza order form.
//Create a variable for each of the following.
//Number of Pizzas, Size, Type of Crust, Toppings, and Drinks.
//BEGIN CODING YOUR VARIABLES BELOW THIS LINE
var numberOfPizzas = prompt("How many pizzas?");
var size = prompt("What size? (Small Medium or Large)");
var typeOfCrust = prompt("Brooklyn Style, Hand Tossed, or Thin Crust?");
var toppings = prompt("Please list any toppings you would like.");
var drinks = prompt("What kind of beverage would you like with your pizza?");
//BELOW THIS LINE CONSOLE LOG A SENTENCE THAT READS OFF THE ORDER NEATLY
console.log(numberOfPizzas + " " + size + " " + typeOfCrust +
            " pizzas." + " With " + toppings + ". Add a " + drinks + " to drink.");
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers