-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (73 loc) · 3.36 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 rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<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">
<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="phn-minus" class="btn btn-default btnMinus"><i class="fas fa-minus"></i></button>
<input id="phn-input" type="text" class="form-control text-center" value="1">
<button id="phn-plus" class="btn btn-default"><i class="fas fa-plus"></i></button>
</div>
<h5>$ <span id="phn-price">1200</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-input" type="text" 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-price">50</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,250</span></h5>
<h5>$ <span id="tax-price">0</span></h5>
<h5>$ <span id="total">1,250</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="javascript2.js"></script>
</body>
</html>