Untitled
unknown
plain_text
2 years ago
1.5 kB
9
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Todo List</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<nav>
<div class="container">
<a href="index.html">Home</a>
<a href="archive.html">Archive</a>
</div>
</nav>
<div class="container">
<div class="add-todo">
<h2>Add Todo</h2>
<div class="input-field">
<input type="text" id="todo" placeholder="Enter Todo Name">
<select id="priority">
<option value="low">Low</option>
<option value="medium">Medium</option>
<option value="high">High</option>
</select>
</div>
<button id="addButton">Add Todo</button>
</div>
<div class="todo-list">
<h2>Todo List</h2>
<table id="todoTable">
<thead>
<tr>
<th>Name</th>
<th>Priority</th>
<th>Status</th>
<th>Delete</th>
</tr>
</thead>
<tbody id="todoBody"></tbody>
</table>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
Editor is loading...
Leave a Comment