-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (38 loc) · 1.37 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
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='style.css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<title>Todo</title>
</head>
<body>
<h1>My todos</h1>
<div class='container'>
<div class='row'>
<div class='col-xs-4'>
<h3>Add todo:</h3>
<input class='form-control' id='new_element' type='text' placeholder='Enter your todo task' autofocus>
<button id='add_todo' onclick='handlers.add()' type='submit'>Add this task</button>
</div>
<div class='col-xs-4'>
<h3>Edit todo Here:</h3>
<p>Write the new todotext</p>
<input id='new_element_to_be_added' type='text'>
<p>Write the index of older todo</p>
<input id='position_changed' type='number'>
<button onclick='handlers.changetodotext()'>Change Todo</button>
</div>
<div class='col-xs-4'>
<h3>Your todos will appear here.</h3>
<ul>
<li>You have not added any todos yet.</li>
</ul>
<button onclick='handlers.toggle_all()'>Change status of all Todos</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>