-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (61 loc) · 2.53 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
<!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">
<!--Google Fonts-->
<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=Young+Serif&display=swap"
rel="stylesheet">
<!--CSS-->
<link href="style.css" rel="stylesheet">
<title>Emergency Cookie</title>
</head>
<body>
<div class="main-container" id="main-container">
<img class="banner-img"
src="vyshnavi-bisani-z8kriatLFdA-unsplash.jpg">
<h3 class="title">Emergency Cookie!</h3>
<p class="subtitle">Get your cookies NOW</p>
<p class="details">*Each box contains 10 cookies</p>
<div id="menu-container">
</div>
<div class="order-container" id="order-container">
<p class="order-title">Your Order</p>
<div class="order-list"></div>
<div class="order-divider"></div>
<div class="total-price-review">
<p class="total-price-title">Total Price</p>
<p class="total-price"></p>
</div>
<button type="button" class="order-btn" id="order-btn"
data-order="order-btn">Complete order</button>
</div>
</div>
<div class="payment-modal" id="payment-modal">
<div class="pay-modal-inner">
<h4 class="payment-title">Enter card details</h4>
<form id="pay-form" action="#" method="POST">
<input type="text" name="name" id="name"
placeholder="Enter your name" required />
<input type="tel" name="ccn" id="ccn"
inputmode="numeric" pattern="[0-9\s]{13,19}"
autocomplete="cc-number" maxlength="19"
placeholder="Enter card number" required />
<input type="tel" name="cvv" id="cvv"
inputmode="numeric" pattern="\d*"
maxlength="4" placeholder="Enter CVV" required />
<button type="submit" class="pay-btn"
id="pay-btn">Pay</button>
</form>
</div>
</div>
<footer class="img-attribution">
<p>Images | Vyshnavi Bisani, Tyler Nix Banner(Unsplash)</p>
<p>Leonardo Luz, and Luis Guizo (Pexels)</p>
</footer>
<script src="app.js" type="module"></script>
</body>
</html>