-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (57 loc) · 1.71 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="src/css/general.css" />
<script defer src="src/js/script.js"></script>
<title>Todo App</title>
</head>
<body>
<main>
<header><h1>The Todo App</h1></header>
<div class="task-container">
<div class="task" data-id="task-1">
<p class="task-title">Task 1</p>
<button class="btn-task-done">Done</button>
</div>
<div class="task" data-id="task-2">
<p class="task-title">Task 1</p>
<button class="btn-task-done">Done</button>
</div>
<div class="task" data-id="task-3">
<p class="task-title">Task 1</p>
<button class="btn-task-done">Done</button>
</div>
</div>
<div class="add-task-box">
<button class="btn-add-task">Add task</button>
</div>
<footer>Created by Me</footer>
</main>
<div class="modal hidden">
<button class="btn--close-modal">×</button>
<h2>Create a new task</h2>
<form>
<label>Task title</label>
<input
type="text"
required
name="title"
id="form-title"
placeholder="Task title"
/>
<label>Task description</label>
<input
type="text"
name="description"
id="form-description"
placeholder="Task description"
/>
<button type="submit" class="btn btn-form">Add Task</button>
</form>
</div>
<div class="overlay hidden"></div>
</body>
</html>