-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (73 loc) · 2.5 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
<html>
<head>
<link rel="stylesheet" href="styles.css" />
<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=Smythe&display=swap"
rel="stylesheet"
/>
<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&display=swap"
rel="stylesheet"
/>
</head>
<title>Ben's African Food</title>
<body>
<header>
<div class="header-text">
<p class="header-title">Ben's African Food</p>
<p class="header-subtitle">The best African food in town.</p>
</div>
</header>
<main>
<div id="item-list">
<!-- menu items- this should be rendered out by a js function-->
</div>
<div class="cart-list-container" id="cart-list-container">
<div class="shopping-cart-title" id="shopping-cart-title">
<p class="your-order">Your Order</p>
</div>
<div class="cart-list" id="cart-list">
<!-- shopping-cart -->
</div>
<div class="total-price-container">
<p>Total Price</p>
<span id="total-price"></span>
</div>
<button type="button" class="complete-btn big-btn" id="complete-btn">
Complete Order
</button>
</div>
<!-- Card details modal/popup -->
<div class="card-details" id="card-details">
<h1 class="enter-details">Enter Card Details</h1>
<form class="form" id="form">
<input
type="text"
placeholder="Enter Card Name"
name="card-name"
required
/>
<input
type="text"
placeholder="Enter Card Number"
name="card-number"
required
/>
<input type="text" placeholder="Enter CVV" name="card-cvv" required />
<button type="submit" class="pay-btn big-btn" id="pay-btn">
Pay
</button>
</form>
</div>
<div class="order-coming-message" id="order-coming-message">
<!-- render text here using JS -->
<p class="order-message">Thanks Ben! Your order is on its way</p>
</div>
</main>
<script src="index.js" type="module"></script>
</body>
</html>