forked from JordanDDisch/todolist
/
index.html
38 lines (23 loc) · 791 Bytes
/
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
<html><head>
<meta charset="UTF-8">
<title>todo-list - CodePen</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="javascript/todo.js"></script>
</head>
<body>
<!--
1) A user can make a list of todo items by typing into a text box and then pressing submit.
The list gets rendered below the input box.
2) A user can delete these todo items by checking a checkbox next to the todo item.
3) If a user refreshes the page, their todo items do not disappeer and remain intact.
4) If a user visits another computer, their todo list stays in tact.
-->
<form>
<input name="todo" class="new-todoItem" type="text" />
<input type="submit" value="Add todo">
</form>
<ul id="todo-list"></ul>
<script>
todo.build();
</script>
</body></html>