-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (52 loc) · 2.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/main.css"/>
<script src="script/index.js" defer></script>
<title>Todo App</title>
</head>
<body>
<form class="form hidden" name="todoform">
<h2 class="form__title">Add Your Todo</h2>
<fieldset class="form__content">
<label for="todotext">Todo Name</label>
<input type="text" autofocus name="todotext" id="todotext" placeholder="Task (e.g Buy Grocery, Study)" required />
<br>
<label for="tododate">Date</label>
<input type="datetime-local" name="tododate" id="tododate" required />
<br>
<label for="priority">Priority</label>
<select name="priority" id="priority">
<option value="high">High</option>
<option value="medium" selected>Medium</option>
<option value="low">Low</option>
</select>
<div class="form__actions">
<input type="button" class="btn btn--passive form__actions--cancel" value="Cancel">
<input type="submit" class="btn btn--danger form__actions--add" value="Add">
</div>
</fieldset>
</form>
<div class="modal delete-modal hidden">
<h2 class="modal__title">Are you sure</h2>
<p class="modal__content">
Are you sure you want to delete this task? This action cannot be undone!
</p>
<div class="modal__actions">
<button class="btn modal__actions-btn--passive">No</button>
<button class="btn modal__actions-btn--danger">Yes</button>
</div>
</div>
<header>
<h1>To-do App</h1>
<button class="header--button"><span>✜</span></button>
</header>
<main>
<h2 class="welcome-text">Organize your tasks</h2>
<p class="welcome-text">Click the <span>"✜"</span> button to add a task </p>
<div class="todo-block"></div>
</main>
</body>
</html>