-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (91 loc) · 4.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- SEO -->
<title>To do</title>
<meta name="description" content="To do is a to-do list project made with vanilla JavaScript">
<link rel="shortcut icon" href="./assets/images/favicon.svg" type="image/x-icon">
<!-- Styles -->
<link rel="stylesheet" href="./assets/styles/style.css">
<!-- 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=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
<!-- Scripts -->
<script src="./assets/scripts/app.js" defer></script>
<script src="./assets/scripts/deleteTask/index.js" defer></script>
<script type="text/javascript" src="./assets/scripts/filters/index.js" defer></script>
<script type="text/javascript" src="./assets/scripts/newTask/index.js" defer></script>
<script src="./assets/scripts/taskState/index.js" defer></script>
<script src="./assets/scripts/editTask/index.js" defer></script>
</head>
<body>
<div id="app" class="app">
<!-- Header -->
<header class="header">
<p class="header__logo">To <span class="header__logo--highlight">do</span></p>
<a title="A GitHub link to the project repository, star it if you enjoyed ❤" href="https://github.com/baptistemiramont/to-do-list" target="_blank" rel="noopener noreferrer">
<span class="header__githubIcon icon-github"></span>
</a>
</header>
<main class="main">
<!-- Title section -->
<div class="titleContainer">
<h1 class="titleContainer__title">Manage your daily tasks with a minimalist to-do list</h1>
</div>
<div class="formContainer">
<form action="" class="formContainer__form">
<input type="text" placeholder="Add new features..." class="formContainer__formNewTask formContainer__formNewTask--input">
<input type="submit" value="create" class="formContainer__formNewTask formContainer__formNewTask--submit">
</form>
<div id="alertBox"></div>
</div>
<!-- Filter section (mobile/tablet only) -->
<div class="filterContainer">
<button aria-label="Display all task lists" class="filterContainer__button filterContainer__button--all activeFilter">all</button>
<button aria-label="Display to-do task list" class="filterContainer__button filterContainer__button--todo">to do</button>
<button aria-label="Display done task lists" class="filterContainer__button filterContainer__button--done">done</button>
</div>
<!-- Lists container -->
<div class="listsContainer">
<!-- To do list -->
<div class="listsContainer__list listsContainer__list--todo">
<h2 class="listsContainer__listTitle listsContainer__listTitle--todo">To do</h2>
<ul class="listsContainer__taskContainer listsContainer__taskContainer--todo">
</ul>
</div>
<!-- Done list -->
<div class="listsContainer__list listsContainer__list--done">
<h2 class="listsContainer__listTitle listsContainer__listTitle--done">Done</h2>
<ul class="listsContainer__taskContainer listsContainer__taskContainer--done">
</ul>
</div>
</div>
</main>
<!-- Footer -->
<footer class="footer">
<div class="copyrightContainer">
<p class="copyrightContainer__author">
Made by <a title="A link to Baptiste Miramont GitHub profile, the developer of this project" href="https://github.com/baptistemiramont" target="_blank" rel="noopener noreferrer">Baptiste</a> 👨🏻💻
</p>
</div>
</footer>
</div>
<!-- Task template -->
<template id="taskTemplate">
<li class="task">
<div class="task__infos">
<input type="checkbox" class="task__checkbox">
<div class="task__infos-text">
<label for="taskLabel" class="task__infos-text-label"></label>
<input name="taskLabel" class="task__infos-text-input hidden">
<time class="task__infos-text-time" datetime="2022-09-09">Sep 09 2022</time>
</div>
</div>
<span class="task__trashIcon icon-trash"></span>
</li>
</template>
</body>
</html>