-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkout.html
89 lines (73 loc) · 2.87 KB
/
checkout.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!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>
<div 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-return-to-home-link"
href="amazon.html"></a>)
</div>
<div class="checkout-header-right-section">
<img src="images/icons/checkout-lock-icon.png">
</div>
</div>
</div>
<div class="main">
<div class="page-title">Review your order</div>
<div class="checkout-grid">
<div class="order-summary js-order-summary">
</div>
<div class="payment-summary">
<div class="payment-summary-title">
Order Summary
</div>
<div class="payment-summary-row">
<div>Items (3):</div>
<div class="payment-summary-money">$42.75</div>
</div>
<div class="payment-summary-row">
<div>Shipping & handling:</div>
<div class="payment-summary-money">$4.99</div>
</div>
<div class="payment-summary-row subtotal-row">
<div>Total before tax:</div>
<div class="payment-summary-money">$47.74</div>
</div>
<div class="payment-summary-row">
<div>Estimated tax (10%):</div>
<div class="payment-summary-money">$4.77</div>
</div>
<div class="payment-summary-row total-row">
<div>Order total:</div>
<div class="payment-summary-money">$52.51</div>
</div>
<button class="place-order-button button-primary">
Place your order
</button>
</div>
</div>
</div>
<script type="module" src="scripts/checkout.js"></script>
</body>
</html>