-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckout.html
More file actions
161 lines (142 loc) · 5.46 KB
/
Copy pathcheckout.html
File metadata and controls
161 lines (142 loc) · 5.46 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!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"
href="amazon.html">3 items</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-cart-summary">
<div class="cart-item-container">
<div class="delivery-date">
Delivery date: Wednesday, June 15
</div>
<div class="cart-item-details-grid">
<img class="product-image"
src="images/products/intermediate-composite-basketball.jpg">
<div class="cart-item-details">
<div class="product-name">
Intermediate Size Basketball
</div>
<div class="product-price">
$20.95
</div>
<div class="product-quantity">
<span>
Quantity: <span class="quantity-label">1</span>
</span>
<span class="update-quantity-link link-primary">
Update
</span>
<span class="delete-quantity-link link-primary">
Delete
</span>
</div>
</div>
<div class="delivery-options">
<div class="delivery-options-title">
Choose a delivery option:
</div>
<div class="delivery-option">
<input type="radio" class="delivery-option-input"
name="delivery-option-2">
<div>
<div class="delivery-option-date">
Tuesday, June 21
</div>
<div class="delivery-option-price">
FREE Shipping
</div>
</div>
</div>
<div class="delivery-option">
<input type="radio" checked class="delivery-option-input"
name="delivery-option-2">
<div>
<div class="delivery-option-date">
Wednesday, June 15
</div>
<div class="delivery-option-price">
$4.99 - Shipping
</div>
</div>
</div>
<div class="delivery-option">
<input type="radio" class="delivery-option-input"
name="delivery-option-2">
<div>
<div class="delivery-option-date">
Monday, June 13
</div>
<div class="delivery-option-price">
$9.99 - Shipping
</div>
</div>
</div>
</div>
</div>
</div>
</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>