-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (76 loc) · 2.49 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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!--Font awesome-->
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"
crossorigin="anonymous"
/>
<!--Bootstrap above own styles so that you can modify some of the bootstap styling-->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<!--Own styles-->
<link rel="stylesheet" href="styles.css" />
<title>Todo List</title>
</head>
<body>
<div class="container">
<header class="text-center text-light my-4">
<h1 class="display-4 text-light">Todo List</h1>
<form class="add text-center my-4">
<!--Add is own class not BS-->
<label class="text-light">Add a new todo...</label>
<input
class="form-control text-dark m-auto"
type="text"
name="adding"
/>
</form>
</header>
<ul class="list-group todos mx-auto text-light">
<!--todos is own class-->
<li
class="list-group-item d-flex justify-content-between align-items-center"
>
<span>Buy milk</span>
<i class="far fa-trash-alt delete"></i>
</li>
<li
class="list-group-item d-flex justify-content-between align-items-center"
>
<span>Buy chocolate</span>
<i class="far fa-trash-alt delete"></i>
</li>
<li
class="list-group-item d-flex justify-content-between align-items-center"
>
<span>Study javascript</span>
<i class="far fa-trash-alt delete"></i>
</li>
<li
class="list-group-item d-flex justify-content-between align-items-center"
>
<span>Cry over Javascript</span>
<i class="far fa-trash-alt delete"></i>
</li>
</ul>
<form class="search my-4">
<input
class="form-control m-auto"
type="text"
name="search"
placeholder="search todos"
/>
</form>
</div>
<script src="./scripts/app.js"></script>
</body>
</html>