-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
290 lines (264 loc) · 17.1 KB
/
index.html
File metadata and controls
290 lines (264 loc) · 17.1 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="100 Days of Python - Learn Python with daily video tutorials and notes. Follow along and master Python programming!">
<meta name="keywords" content="Python, Python course, 100 days of Python, programming, coding">
<meta name="author" content="CodeWithTanim">
<title>100 Days of Python - Videos & Notes</title>
<link rel="stylesheet" href="style.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');
body {
font-family: 'Inter', sans-serif;
margin: 0;
padding: 0;
background: #f5f5f5;
text-align: center;
color: #333;
transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
}
header {
background: #e0e0e0;
color: #333;
padding: 20px;
font-size: 28px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
}
#theme-toggle {
padding: 10px 20px;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
font-weight: bold;
transition: 0.3s;
}
.light-mode #theme-toggle {
background: #333;
color: white;
}
.dark-mode #theme-toggle {
background: #fff;
color: black;
}
main {
padding: 20px;
}
#content {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px;
}
.card {
flex: 1 1 calc(33.33% - 40px);
max-width: 350px;
min-width: 280px;
background: #f0f0f0;
color: #333;
padding: 20px;
border-radius: 15px;
box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}
.card h2 {
color: #1e90ff;
}
.card a {
text-decoration: none;
font-weight: bold;
display: inline-block;
padding: 12px 18px;
margin: 5px;
border-radius: 8px;
transition: 0.3s;
}
.card a:first-of-type {
background: #1e90ff;
color: white;
}
.card a:last-of-type {
background: #ffa500;
color: white;
}
.card a:hover {
opacity: 0.8;
}
/* Dark Mode Styles */
.dark-mode {
background: #121212;
color: white;
}
.dark-mode header {
background: #1e1e1e;
color: white;
}
.dark-mode .card {
background: #1f1f1f;
color: white;
box-shadow: 0px 8px 25px rgba(255, 255, 255, 0.1);
}
</style>
</head>
<body class="light-mode">
<header>
<h1>📚 100 Days of Python - Video & Notes 🎥</h1>
<button id="theme-toggle">🌙 Dark Mode</button>
</header>
<main>
<div id="content"></div>
</main>
<script>
document.addEventListener("DOMContentLoaded", function () {
const content = document.getElementById("content");
const themeToggle = document.getElementById("theme-toggle");
const body = document.body;
// Check stored theme preference
if (localStorage.getItem("theme") === "dark") {
body.classList.remove("light-mode");
body.classList.add("dark-mode");
themeToggle.textContent = "☀️ Light Mode";
}
themeToggle.addEventListener("click", function () {
if (body.classList.contains("light-mode")) {
body.classList.remove("light-mode");
body.classList.add("dark-mode");
themeToggle.textContent = "☀️ Light Mode";
localStorage.setItem("theme", "dark");
} else {
body.classList.remove("dark-mode");
body.classList.add("light-mode");
themeToggle.textContent = "🌙 Dark Mode";
localStorage.setItem("theme", "light");
}
});
const days = [
{ day: 1, topic: "Introduction to Python", video: "https://youtu.be/YNwIaPlSuFI", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%201%3A%20Introduction%20to%20Python%20Programming/Day%201%20Class%20Notes.md" },
{ day: 2, topic: "Our First Program in Python", video: "https://youtu.be/SCDaWjA2a9o", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%202%3A%20Our%20First%20Program%20in%20Python/Day%202%20Class%20Notes.md" },
{ day: 3, topic: "Comments, Escape Sequences & Print Statement", video: "https://youtu.be/iICsOFsCev8", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%203%3A%20Comments%2C%20Escape%20Sequences%20%26%20Print%20Statement/Day%203%20Class%20Notes.md" },
{ day: 4, topic: "Variables & Data Type", video: "https://youtu.be/BcMaWV5Gn4A", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%204%3A%20Variables%20%26%20Data%20Type/Day%204%20Class%20Notes.md" },
{ day: 5, topic: "Operators in Python", video: "https://youtu.be/BT8XCDAFSTQ", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%205%3A%20Operators%20in%20Python/Day%205%20Class%20Notes.md" },
{ day: 6, topic: "Typecasting in Python", video: "https://youtu.be/r_QUgZyczPY", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%206%3A%20Typecasting%20in%20Python/Day%206%20Class%20Notes.md" },
{ day: 7, topic: "User Input in Python", video: "https://youtu.be/PDC2Am-o6As", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%207%3A%20User%20Input%20in%20Python/Day%207%20Class%20Notes.md" },
{ day: 8, topic: "Strings in Python", video: "https://youtu.be/SnGR1z2CHYM", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%208%3A%20Strings%20in%20Python/Day%208%20Class%20Note.md" },
{ day: 9, topic: "Strings Slicing and Operations on Strings in Python", video: "https://youtu.be/ITHzi5GOrRk", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%209%3A%20Strings%20Slicing%20and%20Operations%20on%20Strings%20in%20Python/Day%209%20Class%20Note.md" },
{ day: 10, topic: "String Methods in Python", video: "https://youtu.be/USDzDeqxOGk", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2010%3A%20String%20Methods%20in%20Python/Day%2010%20Class%20Notes.md" },
{ day: 11, topic: "If Else Conditional Statements in Python", video: "https://youtu.be/PtvtnHORlAs", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2011%3A%20If%20Else%20Conditional%20Statements%20in%20Python/Day%2011%20Class%20Notes.md" },
{ day: 12, topic: "Exercise 1: Greeting Machine in Python", video: "https://youtu.be/8Bsdbor1Gxk", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/tree/main/Day%2012%3A%20Exercise%201%3A%20Greeting%20Machine%20in%20Python" },
{ day: 13, topic: "Modules & Pip", video: "https://youtu.be/8e5LaMkWSAU", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2013%3A%20Modules%20%26%20Pip/Day%2013%20Class%20Note.md" },
{ day: 14, topic: "Match Case Statements in Python", video: "https://youtu.be/OSCRDksSgMI", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/tree/main/Day%2014%3A%20Match%20Case%20Statements%20in%20Python" },
{ day: 15, topic: "For Loops in Python", video: "https://youtu.be/gMk8iOY70s8", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2015%3A%20For%20Loops%20in%20Python/Day%2015%20Class%20Note.md" },
{ day: 16, topic: "While Loop in Python", video: "https://youtu.be/GvIiSOAcJoo", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2016%3A%20While%20Loop%20in%20Python/Day%2016%20Class%20Notes.md" },
{ day: 17, topic: "Break & Continue Statements in Python", video: "https://youtu.be/DLHJWz74IDU", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2017%3A%20Break%20%26%20Continue%20Statements%20in%20Python/Day%2017%20Class%20Notes.md" },
{ day: 18, topic: "Functions in Python", video: "https://youtu.be/o20ATHQ-arg", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2018%3A%20Functions%20in%20Python/Day%2018%20Class%20Note.md" },
{ day: 19, topic: "Functions Arguments in Python", video: "https://youtu.be/MDw4ZRKYCzs", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2019%3A%20Functions%20Arguments%20in%20Python/Day%2019%20Class%20Note.md" },
{ day: 20, topic: "Exercise 2: A Simple Calculator Using Python", video: "https://youtu.be/E15NvHh3vzo", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2020%3A%20Exercise%202%3A%20A%20Simple%20Calculator%20Using%20Python/Day%2020%20Class%20Notes.md" },
{ day: 21, topic: "Lists in Python", video: "https://youtu.be/r9wJrAtiup0", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2021%3A%20Lists%20in%20Python/Day%2021%20Class%20notes.md" },
{ day: 22, topic: "Lists Methods in Python", video: "https://youtu.be/DPILI1bqIJo", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2022%3A%20Lists%20Methods%20in%20Python/Day%2022%20Class%20Notes.md" },
{ day: 23, topic: "Tuples in Python", video: "https://youtu.be/5azoWNjF6ls", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2023%3A%20Tuples%20in%20Python/Day%2023%20Class%20Notes.md" },
{ day: 24, topic: "Operations on Tuples in Python", video: "https://youtu.be/NxPOzlW9gJw", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2024%3A%20Operations%20on%20Tuples%20in%20Python/Day%2024%20Class%20Notes.md" },
{ day: 25, topic: "Excercise 3: Quiz-Based Treasure Hunt", video: "https://youtu.be/X7eo3bqSmyY", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2025%3A%20Excercise%203%3A%20Quiz-Based%20Treasure%20Hunt/Day%2025%20Class%20Notes.md" },
{ day: 26, topic: "f-String in Python", video: "https://youtu.be/bfM1I__N1WQ", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2026%3A%20f-String%20in%20Python/Day%2026%20Class%20Notes.md" },
{ day: 27, topic: "Doc-String in Python", video: "https://youtu.be/Ml0vKi5fjV8", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2027%3A%20Doc-String%20in%20Python/Day%2027%20Clas%20Notes.md" },
{ day: 28, topic: "Recursion in Python", video: "https://youtu.be/T0EYxCqmHhA", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%2028%3A%20Recursion%20in%20Python/Day%2028%20Class%20Notes.md" },
// { day: 29, topic: "", video: "", notes: "" },
// { day: 30, topic: "", video: "", notes: "" },
// { day: 31, topic: "", video: "", notes: "" },
// { day: 32, topic: "", video: "", notes: "" },
// { day: 33, topic: "", video: "", notes: "" },
// { day: 34, topic: "", video: "", notes: "" },
// { day: 35, topic: "", video: "", notes: "" },
// { day: 36, topic: "", video: "", notes: "" },
// { day: 37, topic: "", video: "", notes: "" },
// { day: 38, topic: "", video: "", notes: "" },
// { day: 39, topic: "", video: "", notes: "" },
// { day: 40, topic: "", video: "", notes: "" },
// { day: 41, topic: "", video: "", notes: "" },
// { day: 42, topic: "", video: "", notes: "" },
// { day: 43, topic: "", video: "", notes: "" },
// { day: 44, topic: "", video: "", notes: "" },
// { day: 45, topic: "", video: "", notes: "" },
// { day: 46, topic: "", video: "", notes: "" },
// { day: 47, topic: "", video: "", notes: "" },
// { day: 48, topic: "", video: "", notes: "" },
// { day: 49, topic: "", video: "", notes: "" },
// { day: 50, topic: "", video: "", notes: "" },
// { day: 51, topic: "", video: "", notes: "" },
// { day: 52, topic: "", video: "", notes: "" },
// { day: 53, topic: "", video: "", notes: "" },
// { day: 54, topic: "", video: "", notes: "" },
// { day: 55, topic: "", video: "", notes: "" },
// { day: 56, topic: "", video: "", notes: "" },
// { day: 57, topic: "", video: "", notes: "" },
// { day: 58, topic: "", video: "", notes: "" },
// { day: 59, topic: "", video: "", notes: "" },
// { day: 60, topic: "", video: "", notes: "" },
// { day: 61, topic: "", video: "", notes: "" },
// { day: 62, topic: "", video: "", notes: "" },
// { day: 63, topic: "", video: "", notes: "" },
// { day: 64, topic: "", video: "", notes: "" },
// { day: 65, topic: "", video: "", notes: "" },
// { day: 66, topic: "", video: "", notes: "" },
// { day: 67, topic: "", video: "", notes: "" },
// { day: 68, topic: "", video: "", notes: "" },
// { day: 69, topic: "", video: "", notes: "" },
// { day: 70, topic: "", video: "", notes: "" },
// { day: 71, topic: "", video: "", notes: "" },
// { day: 72, topic: "", video: "", notes: "" },
// { day: 73, topic: "", video: "", notes: "" },
// { day: 74, topic: "", video: "", notes: "" },
// { day: 75, topic: "", video: "", notes: "" },
// { day: 76, topic: "", video: "", notes: "" },
// { day: 77, topic: "", video: "", notes: "" },
// { day: 78, topic: "", video: "", notes: "" },
// { day: 79, topic: "", video: "", notes: "" },
// { day: 80, topic: "", video: "", notes: "" },
// { day: 81, topic: "", video: "", notes: "" },
// { day: 82, topic: "", video: "", notes: "" },
// { day: 83, topic: "", video: "", notes: "" },
// { day: 84, topic: "", video: "", notes: "" },
// { day: 85, topic: "", video: "", notes: "" },
// { day: 86, topic: "", video: "", notes: "" },
// { day: 87, topic: "", video: "", notes: "" },
// { day: 88, topic: "", video: "", notes: "" },
// { day: 89, topic: "", video: "", notes: "" },
// { day: 90, topic: "", video: "", notes: "" },
// { day: 91, topic: "", video: "", notes: "" },
// { day: 92, topic: "", video: "", notes: "" },
// { day: 93, topic: "", video: "", notes: "" },
// { day: 94, topic: "", video: "", notes: "" },
// { day: 95, topic: "", video: "", notes: "" },
// { day: 96, topic: "", video: "", notes: "" },
// { day: 97, topic: "", video: "", notes: "" },
// { day: 98, topic: "", video: "", notes: "" },
// { day: 99, topic: "", video: "", notes: "" },
// { day: 100, topic: "", video: "", notes: "" }
];
days.forEach(day => {
const card = document.createElement("div");
card.classList.add("card");
card.innerHTML = `
<h2>Day ${day.day}: ${day.topic}</h2>
<p><a href="${day.video}" target="_blank">📺 Watch Video</a></p>
<p><a href="${day.notes}" target="_blank">📖 View Notes</a></p>
`;
content.appendChild(card);
});
});
</script>
</body>
</html>