-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (28 loc) · 1.54 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
<!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</title>
<script src="main.js" defer></script>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class="h-screen w-full pt-10">
<h1 class="text-center font-black text-4xl text-white mb-12">Today's tasks</h1>
<div class="bg-white w-1/2 mx-auto h-[75vh] rounded-xl shadow-xl flex flex-col items-center py-8 px-5">
<!-- input and button -->
<div class="flex w-full bg-slate-100 p-1 transition-colors rounded-full hover:bg-slate-200 focus:bg-slate-200"><input type="text" class="transition-colors rounded-full py-2 px-6 focus:outline-none bg-slate-100 w-full hover:bg-slate-200 focus:bg-slate-200" placeholder="Write a task here.">
<button class="w-24 hover:bg-cyan-500 hover:text-white rounded-full text-cyan-600 border bg-white transition-colors " onclick="add()">Add</button></div>
<!-- tasks -->
<div class="mt-10 w-full flex flex-col gap-3 list22">
<!-- single task -->
<!-- end task -->
</div>
</div>
</section>
</body>
</html>