-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (93 loc) · 4.35 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
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Restaurant Menu Mobile</title>
</head>
<body>
<div class="container">
<div class="card">
<header class="padding">
<h1>Jimmy’s Diner</h1>
<h4>The best burgers and pizzas in town.</h4>
</header>
<main class="padding">
<section class="orders" id="orders">
<div class="menu-item" id="pizza">
<p>🍕</p>
<div class="menu-item-text">
<h3>Pizza</h3>
<p>pepperoni, mushrom, mozarella</p>
<h5>$14</h5>
</div>
<button id="pizza-plus-btn">+</button>
</div>
<div class="menu-item" id="hamburger">
<p>🍔</p>
<div class="menu-item-text">
<h3>Hamburger</h3>
<p>beef, cheese, lettuce</p>
<h5>$12</h5>
</div>
<button id="hamburger-plus-btn">+</button>
</div>
<div class="menu-item" id="beer">
<p>🍺</p>
<div class="menu-item-text">
<h3>Beer</h3>
<p>grain, hops, yeast, water</p>
<h5>$12</h5>
</div>
<button id="beer-plus-btn">+</button>
</div>
</section>
<!-- Insert order summary from js -->
<section class="order-summary-box">
<div class="order-summary hidden" id="order-summary">
<h2>Your order:</h2>
<div id="pizza-item"></div>
<div id="hamburger-item"></div>
<div id="beer-item"></div>
<div class="price-summary">
<div class="price-summary-text flex space-between">
<h3>Total price:</h3>
<h3 id="total-price"></h3>
</div>
<button id="complete-order-btn">Complete order</button>
</div>
</div>
</section>
<!-- Insert thank you alert from js -->
<section class="thank-you-alert" id="thank-you-alert">
</section>
<form class="payment-info hidden" id="payment-info">
<h3>Enter your card details</h3>
<div class="input-box">
<label for="full-name" class="hidden">Full name</label>
<input type="text" name="full-name" id="full-name" autocomplete="off" required>
<span>Your full name</span>
</div>
<div class="input-box">
<label for="cardNumber" class="hidden">Card number</label>
<input type="text" name="cardNumber" id="cardNumber" autocomplete="off" required>
<span>Card number</span>
</div>
<div class="input-box">
<label for="card-CVV" class="hidden">CVV number</label>
<input type="text" name="card-CVV" id="CVV" autocomplete="off" required>
<span>CVV number</span>
</div>
<div id="pay-button"></div>
</form>
</main>
</div>
</div>
<script src="script.js"></script>
</body>
</html>