-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (48 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="styles.css" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<script defer src="script.js"></script>
<title>Javascript Promises</title>
</head>
<body>
<div class="container">
<h1>Patisserie</h1>
<form class="cakeForm">
<div class="form-group">
<label for="cakeSelect">Choose Cake</label>
<select class="form-control" id="cakeSelect">
<option value="bananaCaramel">Banana Caramel Cake</option>
<option value="contessa">The Contessa</option>
<option value="concorde">Concorde</option>
<option value="mouseCake">MarshMallow Mouse Cake</option>
<option value="confettiSuprise">Confetti Suprise Cake</option>
</select>
</div>
<div class="form-group">
<label for="cakeAmount">Enter Number of Order</label>
<input
id="cakeAmount"
class="form-control"
type="number"
name="order"
placeholder="Order amount"
/>
</div>
</form>
<button type="button" id="submit_btn" class="btn btn-primary mb-2">
Make Order
</button>
<p class="order-result" id="order_result" rows="3"></p>
</div>
</body>
</html>