-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (75 loc) · 3.54 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
<!DOCTYPE html>
<html>
<head>
<title>Shopping Cart</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet">
</head>
<body>
<section>
<div class="container">
<h2 class="text-center ">My shopping cart</h2>
<div class="cart">
<div class="col-md-12 col-lg-10 mx-auto">
<div class="cart-item">
<div class="row">
<div class="col-md-7 center-item">
<img src="images/product-1.png" alt="">
<h5>iPhone 11 128GB Black</h5>
</div>
<div class="col-md-5 center-item">
<div class="input-group number-spinner">
<button id="phone-minus" class="btn btn-default"><i class="fas fa-minus"></i></button>
<input id="phone-number" type="number" min="0" class="form-control text-center" value="1">
<button id="phone-plus" class="btn btn-default"><i class="fas fa-plus"></i></button>
</div>
<h5>$<span id="phone-total">1219</span></h5>
<img src="images/remove.png" alt="" class="remove-item">
</div>
</div>
</div>
<div class="cart-item">
<div class="row">
<div class="col-md-7 center-item mx-auto">
<img src="images/product-2.png" alt="">
<h5>iPhone 11 Silicone Case - Black</h5>
</div>
<div class="col-md-5 center-item">
<div class="input-group number-spinner">
<button id="case-minus" class="btn btn-default"><i class="fas fa-minus"></i></button>
<input id="case-number" type="number" min="0" class="form-control text-center" value="1">
<button id="case-plus" class="btn btn-default"><i class="fas fa-plus"></i></button>
</div>
<h5>$<span id="case-total" >59</span></h5>
<img src="images/remove.png" alt="" class="remove-item">
</div>
</div>
</div>
<div class="cart-item">
<div class="row">
<div class="col-md-8">
<h5>Subtotal: </h5>
<h5>Tax:</h5>
<h5>Total:</h5>
</div>
<div class="col-md-4 status">
<h5>$<span id="sub-total">1,278</span></h5>
<h5>$<span id="tax-amount">00</span></h5>
<h5>$<span id="total-price">1,278</span></h5>
</div>
</div>
</div>
<div class="col-md-12 pt-4 pb-4">
<button type="button" class="btn btn-success check-out">Check Out</button>
</div>
</div>
</div>
</div>
</section>
<script src="app.js"></script>
</body>
</html>