-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (38 loc) · 1.72 KB
/
index.html
File metadata and controls
42 lines (38 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To do list</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script type="text/javascript" defer="true" src="js/general.js"></script>
</head>
<body>
<div class="container mt-3 mb-4">
<h1>Todo list</h2>
<div class="card">
<div class="card-body">
<h3>Add new task</h3>
<form action="?" onsubmit="return addNewTask(this)">
<div class="row">
<div class="col-sm-6">
<input type="text" class="form-control" name="task" id="task" placeholder="list of todo task" required>
</div>
<div class="col-sm-6">
<button class="btn btn-primary">Add new Task</button>
<button type="button" class="btn btn-danger" onclick="deleteCompleteTask()">Delete all task already complete</button>
</div>
</div>
</form>
<ol id="ul_list_task" class="mt-3 text-uppercase"></ul>
</div>
</div>
</div>
<!--region script -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<!--endregion-->
</body>
</html>