-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
123 lines (122 loc) · 6.34 KB
/
index.html
File metadata and controls
123 lines (122 loc) · 6.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MacBook Pro</title>
<!-- Bootstrap CSS -->
<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 CSS -->
<style>
td {font-weight: bolder;}
</style>
</head>
<body>
<main>
<section>
<div class="container">
<div class="row">
<!-- Product Image Area -->
<div class="col-5 p-4">
<img class="img-fluid" src="images/mac.png" alt=" MacBook Featured Image">
</div>
<!-- Product Description Area Start-->
<div class="col-7 p-4">
<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
4ports Magic Mouse Magic Keyboard-Us English.
</p>
<div class="memory mt-5">
<h3>Memory</h3>
<div class="button-group">
<button id="memory-8gb" type="button" class="btn btn-outline-dark">8GB unified
memory</button>
<button id="memory-16gb" type="button" class="btn btn-outline-dark">16GB unified
memory</button>
</div>
</div>
<div class="storage mt-5">
<h3>Storage</h3>
<div class="button-group">
<button id="storage-256gb" type="button" class="btn btn-outline-dark">256GB SSD
storage</button>
<button id="storage-512gb" type="button" class="btn btn-outline-dark">512GB SSD
storage</button>
<button id="storage-1tb" type="button" class="btn btn-outline-dark">1TB SSD
storage</button>
</div>
</div>
<div class="delivery mt-5">
<h3>Choose your delivery option</h3>
<div class="button-group">
<button id="free-delivery" type="button" class="btn btn-outline-dark">Friday, Aug 25
FREE Prime
Delivery</button>
<button id="express-delivery" type="button" class="btn btn-outline-dark">Friday, Aug 21
Delivery Charge
$20</button>
</div>
</div>
<div class="price mt-5 w-50">
<table class="table table-hover">
<tbody>
<tr>
<td>Best Price</td>
<td>$
<span id="best-price">1299</span>
</td>
</tr>
<tr>
<td>Extra Memory Cost</td>
<td>$
<span id="memory-cost">0</span>
</td>
</tr>
<tr>
<td>Extra Storage Cost</td>
<td>$
<span id="storage-cost">0</span>
</td>
</tr>
<tr>
<td>Delivery Charge</td>
<td>$
<span id="delivery-cost">0</span>
</td>
</tr>
</tbody>
<tfoot>
<td class="border-0">Total Price</td>
<td class="border-0">$
<span id="extra-total-cost">1299</span>
</td>
</tfoot>
</table>
<!-- Promo Code Area -->
<p class="mb-2 fw-bolder fs-4 mb-0">Add Promo Code</p>
<p id="wrong-promo" class="text-danger fw-bold fst-italic d-none p-0 m-0 mb-2">Sorry!!! Enter the valid promo code.</p>
<div class="promo d-flex mt-0">
<input id="promo-code" type="text" class="form-control rounded-0">
<button id="apply-btn" class="btn btn-danger rounded-0">Apply</button>
</div>
</div>
</div>
<!-- Product Description Area End-->
</div>
<hr>
<!-- Total Price Calculate Area -->
<h1 class="text-center">Total: $
<span id="in-total">1299</span>
</h1>
</div>
</section>
</main>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
<!-- Custom JS -->
<script src="js/custom.js"></script>
</body>
</html>