-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (86 loc) · 3.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<head>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="css/styles.css" rel="stylesheet" type="text/css">
<script src="js/jquery-3.2.0.js"></script>
<script src="js/scripts.js"></script>
<title>Cheesy Pizza Kitchen!</title>
</head>
<body>
<div class="jumbotron">
<h1>Cheesy Pizza Kitchen!</h1>
</div>
<!--From begins here-->
<div class="container">
<div class="row">
<div class="col-md-6">
<form id="order-form">
<!--Pizza Size-->
<h4>Please see pizza options below:</h4>
<h3>Pizza Size</h3>
<div class="radio">
<label>
<input type="radio" name="pizza-size" value="small" checked>
Small - $5.00
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="pizza-size" value="medium">
Medium - $10.00
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="pizza-size" value="large">
Large - $15.00
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="pizza-size" value="x-large">
X-Large - $20.00
</label>
</div>
<!--Checkboxes for topping selection-->
<div class="form-group">
<h3>Choose your toppings</h3>
<p><small><i><strong>Note:</strong> All pizzas come with tomato sauce and one standard layer of cheese. Only select cheese if you would like extra cheese</i></small></p>
<p>**Each topping: $0.50 each</p>
<input type="checkbox" name="topping" value="extra-cheese"> Extra Cheese<br>
<input type="checkbox" name="topping" value="pepperoni"> Pepperoni<br>
<input type="checkbox" name="topping" value="pineapple"> Pineapple<br>
<input type="checkbox" name="topping" value="olives"> Olives<br>
<input type="checkbox" name="topping" value="ham"> Canadian Bacon<br>
<input type="checkbox" name="topping" value="sausage"> Sausage<br>
<input type="checkbox" name="topping" value="jalepenos"> Jalepenos<br>
<input type="checkbox" name="topping" value="peppers"> Green and Red Peppers<br>
<!--submit form button-->
<br>
<button type="submit" class="btn btn-primary btn-lg btn-block">Order my Pizza!</button>
</form>
</div>
</div>
<br>
<!--Display total cost-->
<div class="row">
<div class="col-md-6">
<table class="table table-bordered">
<h3>Total:</h3>
<tr>
<td>Base Pizza Price:</td>
<td>$ <span id="base-cost"> </span></td>
<tr>
<td>Added toppings total:</td>
<td>$ <span id="plus-toppings"> </span></td>
<tr>
<td>Total price of your order:</td>
<td>$ <span id ="cost"></span></td>
</table>
<h2>Thank you for ordering!</h2>
<img src="img/pizza.jpg" alt="Healthy Pizza" class="img-rounded">
</div>
</div>
</div>
</body>
</html>