-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (73 loc) · 3.33 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
<!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 = 'phone_decrement' class="btn btn-default"><i class="fas fa-minus"></i></button>
<input id='phone-value' type="text" class="form-control text-center" value="1">
<button id='phone_increment' class="btn btn-default"><i class="fas fa-plus"></i></button>
</div>
<h5 id='phoneTotalPrice'>$1219</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-decrement" class="btn btn-default"><i class="fas fa-minus"></i></button>
<input id="case-value" type="text" class="form-control text-center" value="1">
<button id="case-increment" class="btn btn-default"><i class="fas fa-plus"></i></button>
</div>
<h5 id="caseTotalPrice">$59</h5>
<img id ='removeProduct'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 id='sub-total'>$1,278</h5>
<h5 id=product-tax>$0</h5>
<h5 id=totalPrice>$1,278</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>
</body>
<script src="./code.js"></script>
</html>