-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (67 loc) · 2.56 KB
/
index.html
File metadata and controls
73 lines (67 loc) · 2.56 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Todo List - Frontend Interview Exercise</title>
<!-- Organization Fonts -->
<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=Noto+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<header class="header">
<div class="center">
<img src="https://static.dubizzle.com/static_assets/dubizzleLogo.svg" width="111" height="36" alt="Dubizzle">
</div>
</header>
<main class="main">
<div class="center">
<div class="exercise-title">
<h1>Todo List</h1>
</div>
</div>
<!-- Todo Input Form -->
<form class="todo-form" id="todoForm">
<div class="input-group">
<input
type="text"
id="todoInput"
class="todo-input"
placeholder="What needs to be done?"
required
>
<button type="submit" class="add-btn">Add Todo</button>
</div>
</form>
<!-- Search and Sort -->
<div class="controls">
<div class="search-box">
<input
type="text"
id="searchInput"
class="search-input"
placeholder="Search todos..."
>
</div>
<div class="sort-controls">
<label for="sortSelect">Sort by:</label>
<select id="sortSelect" class="sort-select">
<option value="newest">Newest First</option>
<option value="oldest">Oldest First</option>
<option value="az">A-Z</option>
<option value="za">Z-A</option>
</select>
</div>
</div>
<!-- Todo List -->
<div class="todo-list" id="todoList">
<!-- Todos will be dynamically added here -->
</div>
</main>
</div>
<script src="script.js"></script>
</body>
</html>