25 lines
621 B
HTML
25 lines
621 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title></title>
|
|
<style>
|
|
.highlight { background-color: #e0f7fa; border: 2px solid #00796b; }
|
|
.task-item { cursor: pointer; padding: 5px; border-bottom: 1px solid #ccc; }
|
|
.task-item:hover { color: red; text-decoration: line-through; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h2>My Task Manager</h2>
|
|
|
|
<form id="taskForm">
|
|
<input type="text" id="taskInput" placeholder="Enter a new task...">
|
|
<button type="submit" id="addBtn">Add Task</button>
|
|
</form>
|
|
|
|
<ul id="taskList">
|
|
</ul>
|
|
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |