-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckout.html
More file actions
61 lines (50 loc) · 2.11 KB
/
checkout.html
File metadata and controls
61 lines (50 loc) · 2.11 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Checkout</title>
<!-- This code is needed for responsive design to work.
(Responsive design = make the website look good on
smaller screen sizes like a phone or a tablet). -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Load a font called Roboto from Google Fonts. -->
<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=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
<!-- Here are the CSS files for this page. -->
<link rel="stylesheet" href="styles/shared/general.css" />
<link rel="stylesheet" href="styles/pages/checkout/checkout-header.css" />
<link rel="stylesheet" href="styles/pages/checkout/checkout.css" />
</head>
<body>
<header class="checkout-header">
<div class="header-content">
<div class="checkout-header-left-section">
<a href="amazon.html">
<img class="amazon-logo" src="images/amazon-logo.png" />
<img class="amazon-mobile-logo" src="images/amazon-mobile-logo.png" />
</a>
</div>
<div class="checkout-header-middle-section">Checkout (<a class="return-to-home-link js-cart-quantity" href="amazon.html">0 items</a>)</div>
<div class="checkout-header-right-section">
<img src="images/icons/checkout-lock-icon.png" />
</div>
</div>
</header>
<main class="main">
<div class="page-title">Review your order</div>
<section class="checkout-grid">
<div class="order-summary js-order-summary"></div>
<div class="payment-summary js-payment-summary"></div>
</section>
</main>
<div id="customPopup" class="custom-popup">
<div class="popup-content">
<h2>Your Cart is Empty!</h2>
<p>Please add items to your cart before placing an order.</p>
<button id="closePopupBtn">Close</button>
</div>
</div>
<script src="https://www.paypal.com/sdk/js?client-id=test¤cy=USD&disable-funding=venmo,paylater"></script>
<script type="module" src="scripts/checkout.js"></script>
</body>
</html>