Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,31 @@
<title>Document</title>
</head>
<body>
<h1>My Tasks</h1>
<div id="app"></div>

<div id="app"><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<<<<<<< HEAD
<h1>My Personal Task Manager</h1>
=======
<h1>My Tasks Lists</h1>
>>>>>>> delete-feature
<div id="app">
<form id="taskForm">
<input type="text" placeholder="Enter a Task " required/>
<button type="submit" onclick="handleClick()">Add Task</button>
<button type="button" onclick="handleDelete()">Delete Task</button>
</form>
</div>
<script src="script.js"></script>
</body>
</html>
</div>
</body>
</html>
8 changes: 7 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
console.log("Task Manager Loaded");
const handleClick = ()=>{
console.log("Task added");
}

const handleDelete = ()=>{
console.log("Task Deleted");
}
29 changes: 28 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,31 @@ body {
h1 {
text-align: center;
color: #333;
}
}body {
font-family: Arial, Helvetica, sans-serif;
max-width: 600px;
margin: 50px auto;
padding: 20px;
}

h1 {
text-align: center;
color: black;
}

form {
margin-bottom: 21px;
}

input {
width: 70%;
padding: 10px;
border: 1px solid #ddd;
border-radius:4px ;
}

button:hover {
background:#0056b3;
}


1 change: 1 addition & 0 deletions utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello Pranay Aswani");