-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
131 lines (114 loc) · 5.25 KB
/
cart.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!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">
<title>KFC cart</title>
<!-- <link rel="stylesheet" href="style/index.css"> -->
<link rel="stylesheet" href="styles/cart.css">
<link rel="icon" href="https://online.kfc.co.in/favicon.ico">
<!-- <link href="//db.onlinewebfonts.com/c/4e9403b0d7cf02d4dcb241cce29856d2?family=National+2+Condensed" rel="stylesheet" type="text/css"/> -->
</head>
<body>
<div id="navbar"></div>
<div id="preload"></div>
<div class="container">
</div>
<div id="offer">
<!-- coupon code applied page -->
</div>
<div id="blackline">
LET'S ORDER FOR DELIVERY, PICK UP, OR DINE-IN
<button><a href="#">Start Order</a></button>
</div>
<div id="cart_container">
<div id="part1">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAeCAYAAAB5c901AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABNSURBVHgB7c9BDQAgAMPAgQ4c4F8KDvABFuBHSe+9LGmZ6SsXWkY52b3yW/M5A+kMpDOQzkA6A+kMpDOQzkA6A+kMpDOQzkA6A+kMpNu9MQhKmC+cDgAAAABJRU5ErkJggg==" alt="img">
<h1>MY CART</h1>
</div>
<!-- The main cart items visable section which need to append in #part2 -->
<div id="part2">
<!-- there are two sections in part2 -->
<div id="part2a">
<!-- part2a is to append cart items -->
</div>
<div id="part2b">
<!-- part2b is to show the subtotal and qty -->
</div>
</div>
<!-- the popular addons on cart which are not visable when there are no items in cart -->
<div class="part3">
</div>
<!-- the FAQ question section -->
<div id="part4">
<div class="faq">
<h2>FAQ</h2>
<ul>
<li>
<label for="first" >
<p>How can I change the information for my credit/debit card or select a different default payment method?</p>
<span>></span>
</label>
<input type="checkbox" id="first">
<div class="firstc">
<p>
Absolutely! After selecting the location from which you’d like to order, you will see the menu screen,
right below the red KFC banner you can select ASAP or select a different date and time. You can also
change the pickup or delivery date and time during the order review screen if you change your mind.
</p>
</div>
</li>
<li>
<label for="first1" >
<p>What to expect for delivery?</p>
<span>></span>
</label>
<input type="checkbox" id="first1">
<div class="firstc">
<p>
Absolutely! After selecting the location from which you’d like to order, you will see the menu screen,
right below the red KFC banner you can select ASAP or select a different date and time. You can also change
the pickup or delivery date and time during the order review screen if you change your mind.
</p>
</div>
</li>
<li>
<label for="first2" >
<p>How do I change or cancel my pickup order once I’ve placed my order?</p>
<span>></span>
</label>
<input type="checkbox" id="first2">
<div class="firstc">
<p>
Absolutely! After selecting the location from which you’d like to order, you will see the menu screen,
right below the red KFC banner you can select ASAP or select a different date and time. You can also change
the pickup or delivery date and time during the order review screen if you change your mind.
</p>
</div>
</li>
</ul>
<button>View All FAQs</button>
</div>
<div class="support">
<h2>STILL HAVE A QUESTION?</h2>
<button>
Call Us
</button><button>
Contact Us
</button>
</div>
</div>
</div>
<div id="footer"></div>
</body>
</html>
<script type="module" >
import {navbar,footer} from "./components/navbar.js"
let n=document.getElementById("navbar");
n.innerHTML=navbar();
let f=document.getElementById("footer");
f.innerHTML=footer();
</script>
<script src="script/cart.js" type="module">
</script>