-
Notifications
You must be signed in to change notification settings - Fork 0
/
list.html
40 lines (36 loc) · 1.08 KB
/
list.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>To Do App</title>
<!-- styles -->
<link rel="stylesheet" type="text/css" href="style.css">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Slab" rel="stylesheet">
<!-- javascript -->
<script src="main.js" type="text/javascript"></script>
</head>
<body>
<div id="container">
<header>
<h1>My To Do Lists</h1>
<nav>
<a href="index.html">main</a> -
<a href="index.html">settings</a>
</nav>
</header>
<div id="todo-lists">
<div class="list">
<h2 class="list-title">Groceries</h2>
<ol id="grocery-list">
<li>Eggs</li>
<li>Milk</li>
<li>Cereal</li>
</ol>
</div>
<label for="new-list-item">New Item:</label>
<input id="new-list-item" type="text"/>
<button onclick="addListItem()">Add Item</button>
</div>
</div>
</body>
</html>