Advanced JavaScript
This commit is contained in:
25
Week-03/Day_02/index.html
Normal file
25
Week-03/Day_02/index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user