-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
64 lines (58 loc) · 1.58 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
<!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">
<title> Cart </title>
<link rel="stylesheet" href="css/cart.css">
<!-- header links -->
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/4a3b1f73a2.js"></script>
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
</head>
<body>
<!-- HEADER -->
<div id="1"></div>
<script>
load("header.html");
function load(url)
{
req = new XMLHttpRequest();
req.open("GET", url, false);
req.send(null);
document.getElementById(1).innerHTML = req.responseText;
}
</script>
<!-- CART CONTAINER -->
<div id="cartMainContainer">
<h1> Checkout </h1>
<h3 id="totalItem"> Total Items: 0 </h3>
<div id="cartContainer">
<!-- JS rendered code -->
</div>
</div>
</script>
<div class="terms">
<div id="term1">
<a href="">About</a>
<a href="">Contact Us</a>
<a href="">Services</a>
<a href="">Privacy</a>
</div>
<div id="term2">
<a href="">FAQs</a>
<a href="">Return Policy</a>
<a href="">Security</a>
<a href="">Terma of Use</a>
</div>
<div id="term3">
<a href="">Cancellation</a>
<a href="">Payments</a>
<a href="">Shipping</a>
<a href=""></a>
</div>
</div>
<script src="/cart.js"></script>
</body>
</html>