-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.html
More file actions
107 lines (99 loc) · 3.41 KB
/
todo.html
File metadata and controls
107 lines (99 loc) · 3.41 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To-Do List</title>
<style>
body {
font-family: 'Lato', Verdana, Helvetica, sans-serif; /* Change to Roboto font */
}
.container {
width: 80%;
margin: 0 auto;
padding-left: 350px;
}
.todo-list {
list-style: none;
padding: 0;
}
.todo-item {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.todo-item .checkbox {
margin-right: 10px;
padding-left: 10px;
padding-right: 10px;
}
.todo-item label {
flex-grow: 1;
padding-left: 10px;
padding-right: 10px;
}
.completed {
text-decoration: line-through;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet"> <!-- Import Roboto font -->
</head>
<body>
<div id="top-bar-container"></div>
<div class="container">
<h2>List 100</h2 >
<h2>Inspired from Chip Huyen</h2>
<p>Things I want to do before I die. Please let me know if you have any recommendation.</p>
<p>Progress as of Apr 7, 2024: 40.75/92.</p>
<ul class="todo-list">
<li class="todo-item">
<span class="checkbox">✓</span>
<label class="completed">Paraglide</label>
</li>
<li class="todo-item">
<span class="checkbox">✓</span>
<label class="completed">Live in another country</label>
</li>
<li class="todo-item">
<span class="checkbox">✓</span>
<label class="completed">Work at a non-profit org</label>
</li>
<li class="todo-item">
<span class="checkbox">✗</span>
<label>Start my own Bengali podcast</label>
</li>
<li class="todo-item">
<span class="checkbox">✗</span>
<label>Solo author a research paper</label>
</li>
<li class="todo-item">
<span class="checkbox">✗</span>
<label>Skydive</label>
</li>
<li class="todo-item">
<span class="checkbox">✗</span>
<label>Learn to play the guitar</label>
</li>
<li class="todo-item">
<span class="checkbox">✗</span>
<label>Finish Tagore (to a reasonable extent)</label>
</li>
<li class="todo-item">
<span class="checkbox">✗</span>
<label>Learn Spanish</label>
</li>
<!-- Add more tasks as needed -->
</ul>
</div>
<script>
// Include top bar content
document.addEventListener('DOMContentLoaded', function() {
fetch('topbar.html')
.then(response => response.text())
.then(data => {
document.getElementById('top-bar-container').innerHTML = data;
});
});
</script>
</body>
</html>