-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathindex.html
54 lines (46 loc) · 1.76 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
<!DOCTYPE html>
<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">
<title>Document</title>
<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">
</head>
<style>
.striked {
text-decoration: line-through;
}
ul > li:hover {
cursor: pointer;
}
</style>
<body>
<div class="container mt-5">
<div class="row">
<div class="col-8 form-group">
<input class="form-control" id="newTodo" type="text" placeholder="Add new todo">
<small class="form-text text-muted">Today I must ...</small>
<input class="form-control" id="TodoDate" type="date" >
<small class="form-text text-muted">Complete it till..</small>
</div>
<div class="col-4">
<div class="flex-row justify-content-center align-items-center ">
<button class="btn btn-primary mt-1 mt-md-0" onclick="addTodo()">ADD +</button>
<button class="btn btn-secondary mt-1 mt-md-0" >Reset</button>
<button class="btn btn-danger mt-1 mt-md-0" onclick="removeTodos()">Bin</button>
<button class="btn btn-danger mt-1 mt-md-0" onclick="sortTodo()">Sort</button>
</div>
</div>
</div>
<div class="row mt-2">
<div class="col-10 offset-1 ">
<ul>
</ul>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="index.js" defer></script>
</body>
</html>