-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (54 loc) · 2.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TODO List - only HTML and CSS</title>
<link rel="stylesheet" href=style.css>
</head>
<body>
<header>TO-DO list without JS</header>
<nav>Only HTML and CSS ;)</nav>
<main>
<p aria-label="Tasks">Tasks</p>
<article class="task">
<span id="check-desc" hidden>Mark as done</span>
<input type="checkbox" class="task-box" id="task-1" aria-describedby="check-desc"/>
<label for="task-1">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 1" aria-label="First task"/>
</label>
<input type="checkbox" class="task-box" id="task-2" aria-describedby="check-desc"/>
<label for="task-2">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 2" aria-label="Second task"/>
</label>
<input type="checkbox" class="task-box" id="task-3" aria-describedby="check-desc"/>
<label for="task-3">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 3" aria-label="Third task"/>
</label>
<input type="checkbox" class="task-box" id="task-4" aria-describedby="check-desc"/>
<label for="task-4">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 4" aria-label="Fourth task"/>
</label>
<input type="checkbox" class="task-box" id="task-5" aria-describedby="check-desc"/>
<label for="task-5">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 5" aria-label="Fifth task"/>
</label>
<input type="checkbox" class="task-box" id="task-6" aria-describedby="check-desc"/>
<label for="task-6">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 6" aria-label="Sixth task"/>
</label>
<input type="checkbox" class="task-box" id="task-7" aria-describedby="check-desc"/>
<label for="task-7">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 7" aria-label="Seventh task"/>
</label>
<input type="checkbox" class="task-box" id="task-8" aria-describedby="check-desc"/>
<label for="task-8">
<input type="text" class="new-task" required pattern="^(?!\s)(?!.*\s$).*$" placeholder="" name="Task 8" aria-label="Eighth task"/>
</label>
</article>
</main>
<footer>
-Kacper Twardowski | 2024-
</footer>
</body>
</html>