-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (48 loc) · 1.74 KB
/
index.html
File metadata and controls
55 lines (48 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<link>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<link rel="icon" type="./assets/images/icons8-list-64.png" href="./assets/images/icons8-list-64.png" />
<script
src="https://code.jquery.com/jquery-3.7.0.min.js"
integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g="
crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/14f10ad80a.js" crossorigin="anonymous"></script>
<title>Todo App</title>
<link rel="stylesheet"
href="./assets/reset.css" />
<link rel="stylesheet" href="./assets/styles.css" />
<script type="text/javascript" src="./assets/index.js" defer></script>
</head>
<body>
<div class="container">
<ul id="item-list">
</ul>
<p class="total-cost-container">Total Cost: $<span class="total-cost">0</span></p>
<form id="content-form">
<input
type="text"
id="form-item-name"
class="name-input"
placeholder="product name"
required
>
<input
type="number"
step="0.01"
min="0"
id="form-item-price"
class="price-input"
placeholder="product price"
required
>
<input class="submit-btn" type="submit">
</form>
<button class="clear-list-btn">clear list</button>
</div>
</body>
</html>