-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnft-cart.html
71 lines (62 loc) · 2.55 KB
/
nft-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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Diphylleia&family=Great+Vibes&family=Quicksand&display=swap" rel="stylesheet">
<title>Cart</title>
<link rel="icon" href="images/logo/logo only.png" type="image/icon type">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link id="cart-theme" rel="stylesheet" href="styles/cart.css">
<link id="nav-theme" rel="stylesheet" href="styles/nft-nav.css">
<link id="footer-theme" rel="stylesheet" href="styles/nft-footer.css">
<link rel="stylesheet" href="styles/sideNav.css">
</head>
<body>
<nav></nav>
<div id="mySideNav" class="sidenav"></div>
<div class="heading">Review Your Cart</div>
<div class="removeAll">REMOVE ALL</div>
<div class="sortFunction"></div>
<div class="main">
<div class="items"></div>
<div class="item-value">
<div class="item-value-calc">
<div class="item-net">
<div>Total Items:</div>
<div class="js-count-cart"></div>
</div>
<div class="item-net">
<div>Total Amount:</div>
<div class="js-price-cart"></div>
</div>
<button id="buyButton">Proceed To Buy</button>
</div>
</div>
</div>
<footer></footer>
<script src="javascript/sideNav.js"></script>
<script type="module" src="javascript/homepage/renderNavbar.js"></script>
<script type="module">
import {renderCart,addToProfile,removeAll} from './javascript/cart.js';
renderCart();
document.querySelector('.removeAll').addEventListener('click',()=>{
removeAll();
});
document.getElementById('buyButton').addEventListener('click',()=>{
addToProfile();
});
</script>
<script type="module">
import {sortHTML} from "./javascript/sortFunction other.js";
import {sortNFT} from "./javascript/cart.js";
sortHTML();
document.querySelector(".buttonSort").addEventListener('click',()=>{
sortNFT();
})
</script>
<script type='module' src="javascript/homepage/renderFooter.js"></script>
</body>
</html>