-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMyDOMcheckpoint.html
120 lines (116 loc) · 7.56 KB
/
MyDOMcheckpoint.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
119
120
<!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>DOM Checkpoint</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="style.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="card card-body">
<h2 class="title">List of Items</h2>
<ul id="items" class="list-group">
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item One <span id="price"> 11 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Two <span id="price"> 13 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Three <span id="price"> 39 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Four <span id="price"> 09 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Five <span id="price"> 30 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Six <span id="price"> 18 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Seven <span id="price"> 56 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Eight <span id="price"> 78 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li id="parent" class="list-group-item">
<div class="row">
<h3 class="col-4">Item Ten <span id="price"> 89 </span>$</h3>
<div class="col-1"><img id="heart" src="RESheartNull.png" width="40" height="40"></div>
<button type="button" id="minus-button" class="col-1 btn btn-secondary"><h4>-</h4></button>
<div class="col-1"><h3 id="quantity">1</h3></div>
<button type="button" id="add-button" class="col-1 btn btn-primary"><h4>+</h4></button>
<button type="button" id="delete" class="col-1 offset-2 btn btn-danger">DELETE</button>
</div>
</li>
<li class="list-group-item totale-price">
<div class="row bg-info">
<h3 class="col-4" id="totale-price"></h3>
</div>
</li>
</ul>
</div>
</div>
<script src="DOM.js"></script>
</body>
</html>