forked from Yasholo/JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.html
More file actions
24 lines (24 loc) · 663 Bytes
/
Copy pathtodo.html
File metadata and controls
24 lines (24 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>To-do-list</title>
<link href="style.css" rel="stylesheet"/>
</head>
<body>
<div id='myDiv' class="header">
<h2>My To Do List</h2>
<input type = "text" id="myInput" placeholder="Title...">
<span onclick="newElement()" class="addBtn">Add</span>
</div>
<ul id="myUL">
<li>Hit the gym</li>
<li class="checked">Pay bills</li>
<li>Meet George</li>
<li>Buy eggs</li>
<li>Read a book</li>
<li>Organize office</li>
</ul>
<script src="script.js" type="text/javascript"></script>
</body>
</html>