-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (41 loc) · 1.56 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>
<title>A To-Do list App in JS</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="container">
<h1 class="page-title">To Do List</h1>
<span id="listStatus"></span>
<div id="userInputContainer">
<input type="text" id="userInput" placeholder="Create a To-Do" />
<button id="userSubmit">Add to List</button>
</div>
<div class="todo-section">
<h4><span id="toDoCount">No</span> <span id="toDoCountText">items</span></h4>
<ul id="toDoList">
</ul>
</div>
<div class="complete-section">
<h4><span id="completeCount">No</span> <span id="completeCountText">items</span></h4>
<ul id="doneList">
</ul>
</div>
<small class="page-subtitle">An App in JS by <a href="http://adamchipperfield.com" target="_blank">Adam Chipperfield</a></small>
</div>
<div id="alertBox">
<div id="alertBoxContent">
<span id="alertBoxMessage">Editing name of <span id="alertBoxToDoName"></span></span>
<span id="alertBoxStatus"></span>
<input type="text" id="alertBoxInput" placeholder="New name" />
<div id="alertBoxButtonContainer">
<button id="alertBoxSubmit">Save Changes</button>
<button id="alertBoxClose">Cancel</button>
</div>
</div>
</div>
<script src="javascript.js"></script>
</body>
</html>