-
Notifications
You must be signed in to change notification settings - Fork 0
/
todos.html
51 lines (50 loc) · 1.9 KB
/
todos.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Todo App</title>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Raleway' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="public/css/styles.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<nav>
<h1 class="brand">Todo List</h1>
</nav>
<main>
<div>
<section class="todo-form">
<form>
<input type="text" name="todo-item" autocomplete="off" placeholder="Add New Item" />
</form>
</section>
<section class="todo-list">
<!-- Normal Item -->
<article>
<input id="todo1" type="checkbox" />
<label for="todo1" />
<span>Todo Item 1</span>
<button className="edit" aria-label='edit'><i className="fa fa-pencil"></i></button>
<button className="delete" aria-label='delete'><i className="fa fa-trash-o"></i></button>
</article>
<!-- Checked Item -->
<article class="complete">
<input id="todo2" type="checkbox" checked='checked' />
<label for="todo2" />
<span>Todo Item 2</span>
<button className="edit" aria-label='edit'><i className="fa fa-pencil"></i></button>
<button className="delete" aria-label='delete'><i className="fa fa-trash-o"></i></button>
</article>
<!-- Edit State -->
<form>
<input type="text" name="todo-item" autocomplete="off" placeholder="To Do Item" />
</form>
<!-- Empty State -->
<article class="empty"><h3>You have no todos!</h3></article>
</section>
</div>
</main>
<footer>
</footer>
</body>
</html>