-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (28 loc) · 900 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
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="https://cdn-icons-png.flaticon.com/256/7223/7223215.png">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://fonts.googleapis.com/css?family=Nunito' rel='stylesheet'>
<link rel="stylesheet" href="style.css">
<title>Todo List</title>
</head>
<body>
<div class="grid" style="display: flex;">
<p id="listTitle">Todo list</p>
</div>
<div class="grid">
<form name="myForm" id="myForm" onsubmit="return validateForm()">
<input id="textBox" type="text" />
<input type="button" id="addButton" value="add" onclick="displayName()" />
<p id="show_name"></p>
<br>
</form>
</div>
<div id="todoList">
<!-- Display the todo list here -->
</div>
<script src="script.js"></script>
</body>
</html>