-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
55 lines (46 loc) · 1.96 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">
<title>Shopping Cart Page</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="cart.css">
</head>
<body>
<div id="navigation-placeholder"></div>
<div class="main-container">
<h1 style="color: #fb9c05;">Cart</h1>
<div id="container">
</div>
<div class="order-summary">
<h2>Order Summary</h2>
<p class = "paragraph">Number of items: <span id="item-count"></span></p>
<p class = "paragraph">Total Price: $<span id="total-price">0</span></p>
<button id="purchase-button">Purchase</button>
</div>
</div>
<div class="modal-overlay" id="modalOverlay">
<div class="alert-box">
<h4>Are you sure you want to delete the product?
</h4>
<div class="button-container">
<button id="closeAlertButton">CANCEL</button>
<button id="deleteAlertButton">DELETE</button>
</div>
</div>
</div>
<div id="empty-list-message" style="display: none;">
<img src="https://codescandy.com/coach/rtl/assets/images/bag.svg" alt="There is no Product">
<h3>Your cart is currently empty</h3>
<p class="paragraph">Before proceed to checkout you must add some products to your shopping cart. You will find <br> a lot of
interesting products on our "Shop" page.</p>
<button onclick="openHome()" id = "search-more"
style=" color: white; background-color: #fb9c05; width: 150px; height: 48px; font-size: medium;">Start
Shopping</button>
</div>
<div id="footer-placeholder"></div>
</body>
<script src="cart.js"></script>
</html>