-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (24 loc) · 848 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="header">
<h2 style="margin:5px">To Do List</h2>
<input type="text" id="myInput" placeholder="Enter the task...">
<span onclick="newElement()" class="addBtn">Add</span>
</div>
<ul id="myUL">
<li class="checked">Go through DataFlair's JavaScript tutorials</li>
<li>Practise the codes</li>
<li class="checked">Read a book on JavaScript</li>
<li class="checked">Organise my notes</li>
<li>Create JavaScript projects</li>
<li>Take quiz</li>
<li>Comprehend interview questions</li>
</ul>
<button type="button" id="clear-list" onclick="removeAll()">Remove All</button>
<script type="text/javascript" src="script.js"></script>
</body>
</html>