-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (34 loc) · 1.32 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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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=Varela+Round&display=swap" rel="stylesheet">
<title>Simple JS ToDo App</title>
<link rel="stylesheet" href="pico.min.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<div class="container">
<div class="flex">
<h1>Todo App</h1>
<button class="themeToggle theme-toggle mode" style="border: none; background: none; font-size: 24px; cursor: pointer;">
<i class="fas fa-moon"></i>
<i class="fas fa-sun" style="display: none;"></i>
</button>
</div>
<div class="todo-form grid">
<input type="text" id="todo-input" placeholder="Enter a new task">
<button id="add-button">Add</button>
</div>
<ul class="todo-list" id="todo-list">
<!-- Todo items will be added here dynamically -->
</ul>
</div>
<script src="main.js"></script>
</body>
</html>