forked from lassiecoder/E-CommerceWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
55 lines (50 loc) · 1.59 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
<!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 | E-COMMERCE WEBSITE BY EDYODA </title>
<link rel="stylesheet" href="css/cart.css">
<!-- favicon -->
<link rel="icon" href="https://yt3.ggpht.com/a/AGF-l78km1YyNXmF0r3-0CycCA0HLA_i6zYn_8NZEg=s900-c-k-c0xffffffff-no-rj-mo" type="image/gif" sizes="16x16">
<!-- header links -->
<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>
</body>
<!-- FOOTER -->
<div id="4"></div>
<script>
load("footer.html");
function load(url)
{
req = new XMLHttpRequest();
req.open("GET", url, false);
req.send(null);
document.getElementById(4).innerHTML = req.responseText;
}
</script>
<script src="/cart.js"></script>
</html>