-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (81 loc) · 3.38 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!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">
<title>ToDo App with Local Storage</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;0,900;1,300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- App wrapper -->
<main class="app">
<!-- Greeting -->
<section class="greeting">
<h3 class="title">
WHAT'S UP, <input type="text" id="name" placeholder="Name here">
</h3>
</section>
<!-- End of greeting -->
<!-- New todo -->
<section class="create-todo">
<h3>CREATE A TODO</h3>
<form id="new-todo-form">
<h4> </h4>
<input type="text" name="content" id="content" placeholder="e.g. learn CSS"/>
<h4> Pick a category</h4>
<div class="options">
<label>
<input type="radio" name="category" id="category1" value="business"/>
<span class="bubble business"></span>
<div>Business</div>
</label>
<label>
<input type="radio" name="category" id="category2" value="personal"/>
<span class="bubble personal"></span>
<div>Personal</div>
</label>
</div>
<input type="submit" value="Add todo"/>
</form>
</section>
<!-- End of New Todo -->
<!-- Todo List -->
<section class="todo-list">
<h3> TODO LIST</h3>
<div class="list" id="todo-list">
<!-- <div class="todo-item">
<label>
<input type="checkbox"/>
<span class="bubble business"></span>
</label>
<div class="todo-content">
<input type="text" value="Make a video" readonly/>
</div>
<div class="actions">
<button class="edit">Edit</button>
<button class="delete">Delete</button>
</div>
</div>
<div class="todo-item">
<label>
<input type="checkbox" />
<span class="bubble personal"></span>
</label>
<div class="todo-content">
<input type="text" value="Watch new episode" readonly/>
</div>
<div class="actions">
<button class="edit">Edit</button>
<button class="delete">Delete</button>
</div>
</div>
</div> -->
</section>
</main>
<script src="main.js"></script>
</body>
</html>