-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (113 loc) · 4.58 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Mac Book </title>
<!-- Bootstrap CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<!-- Custom Link -->
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<!-- Product Section -->
<div class="container my-5">
<div class="row">
<!-- Product Image -->
<div class="col-md-5">
<div class="product-img mt-4">
<img class="img-fluid float-none float-md-end mx-auto d-block" width="80%" src="assets/mac.png" alt="i Mac"/>
</div>
</div>
<!-- Product Info -->
<div class="col-md-7">
<div class="product-info">
<h1>Customize your Blue 24-inch iMac with Apple M1 chip.</h1>
<p>
Apple M1 chip with 8-core CPU with 4 performance cores and 4
efficiency cores, 7-core GPU, and 16-core Neural Engine 8GB
unified memory 256GB SSD storage Two Thunderbolt / USB 4 ports
Magic Mouse Magic Keyboard - US English
</p>
<div class="my-4">
<p class="mb-1 fw-bold">Memory</p>
<button id="8GB-RAM" type="button" class="btn btn-outline-dark">
8GB unified memory
</button>
<button id="16GB-RAM" type="button" class="btn btn-outline-dark">
16GB unified memory
</button>
</div>
<div class="my-4">
<p class="mb-1 fw-bold">Storage</p>
<button id="256GB-Storage" type="button" class="btn btn-outline-dark">
256GB SSD storage
</button>
<button id="512GB-Storage" type="button" class="btn btn-outline-dark">
512GB SSD storage
</button>
<button id="1TB-Storage" type="button" class="btn btn-outline-dark">
1TB SSD storage
</button>
</div>
<div class="my-4">
<p class="mb-1 fw-bold">Choose your delivery option</p>
<button id="delivery" type="button" class="btn btn-outline-dark">
Friday, Aug 25 FREE Prime Delivery
</button>
<button id="fastDelivery" type="button" class="btn btn-outline-dark">
Friday, Aug 21 Delivery charge $20
</button>
</div>
</div>
<!-- Sub Total -->
<div class="my-4">
<table class="table w-50 fw-bold">
<tbody>
<tr>
<td>Best Price</td>
<td>$<span id="basic-price">1299</span></td>
</tr>
<tr>
<td>Extra Memory Cost</td>
<td>$<span id="memory-price">0</span></td>
</tr>
<tr>
<td>Extra Storage Cost</td>
<td>$<span id="storage-price">0</span></td>
</tr>
<tr>
<td>Delivery charge</td>
<td>$<span id="delivery-price">0</span></td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Total Price</td>
<td>$<span id="basic-subtotal">1299</span></td>
</tr>
</tfoot>
</table>
</div>
<!-- Promo Code -->
<div class="my-4 w-50">
<p class="mb-1 fw-bold">Add Promo Code</p>
<div class="input-group mb-3">
<input id="promo-code" type="text" class="form-control" placeholder="Code"/>
<button class="btn input-group-text bg-danger text-white" id="promo-code-click">
Apply
</button>
</div>
</div>
</div>
</div>
<hr/>
<!-- Total Price -->
<div class="text-center">
<h1>Total: $<span id="total">1299</span></h1>
</div>
</div>
<!-- Custom JS -->
<script type="text/javascript" src="assets/custom.js"></script>
</body>
</html>