-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
708 lines (673 loc) · 24.3 KB
/
index.html
File metadata and controls
708 lines (673 loc) · 24.3 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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Dev BootCamp</title>
<style>
body {
font-family: "Segoe UI", Arial, sans-serif;
background-color: #1a1a1a;
color: #ffffff;
margin: 0;
padding: 40px 20px;
}
a {
text-decoration: none;
color: skyblue;
}
.notes {
background-color: #3d3d3d;
text-align: center;
margin-top: 15px;
padding: 12px 0px;
border-radius: 6px;
font-weight: bold;
}
.container {
max-width: 1100px;
margin: auto;
}
.header {
text-align: center;
margin-bottom: 50px;
}
.grid-layout {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 25px;
}
.day-card {
background-color: #2d2d2d;
border: 1px solid #444;
padding: 25px;
border-radius: 12px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
h2 {
color: #00ff88;
margin-top: 0;
font-size: 1.8rem;
}
.lesson-list {
list-style: none;
padding: 0;
margin: 20px 0;
}
.lesson-list li {
padding: 8px 0;
border-bottom: 1px solid #3d3d3d;
font-size: 0.95rem;
color: #ccc;
}
.btn-challenge {
background-color: #00ff88;
color: #1a1a1a;
text-decoration: none;
text-align: center;
padding: 12px;
border-radius: 6px;
font-weight: bold;
margin-top: 20px;
transition: opacity 0.3s;
}
.btn-challenge:hover {
opacity: 0.8;
}
/* Exercise Dropdown Styles */
.exercise-container {
display: flex;
gap: 10px;
margin-top: 15px;
}
.btn-exercise {
flex: 1;
background-color: #444;
color: #fff;
border: 1px solid #555;
padding: 8px;
border-radius: 4px;
cursor: pointer;
font-size: 0.85rem;
transition: all 0.2s;
font-weight: bold;
}
.btn-exercise:hover {
background-color: #555;
}
.btn-exercise.active {
background-color: #00ff88;
color: #1a1a1a;
border-color: #00ff88;
}
.exercise-dropdown {
display: none;
background-color: #3d3d3d;
padding: 15px;
border-radius: 6px;
margin-top: 10px;
font-size: 0.9rem;
border-left: 4px solid #00ff88;
color: #ccc;
line-height: 1.4;
}
.exercise-dropdown.show {
display: block;
}
.exercise-dropdown strong {
color: #00ff88;
display: block;
margin-bottom: 5px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>BootCamp Dashboard</h1>
<p>Select a day to begin your technical challenge.</p>
</div>
<div class="grid-layout">
<!-- Day 1 -->
<div class="day-card">
<div>
<h2>Day 1</h2>
<ul class="lesson-list">
<li>▶ <a href="/Day_01/01. Basics/index.html">Basics</a></li>
<li>
<a
href="/Day_01/01. Basics/challenge/index.html"
style="
display: block;
margin: 1px 0 1px 20px;
color: lightcoral;
"
>Challenge</a
>
</li>
<li>▶ <a href="/Day_01/02. Tags/inline.html">Tags</a></li>
<li>
<a
href="/Day_01/02. Tags/challenge/index.html"
style="
display: block;
margin: 1px 0 1px 20px;
color: lightcoral;
"
>Challenge</a
>
</li>
<li>▶ CSS Styles</li>
</ul>
</div>
<a
href="https://sanju10.notion.site/Day-1-30172efe230880a48c07d7e874d7f5f9?source=copy_link"
class="notes"
>Notes</a
>
<a href="Day_01/Challenge/index.html" class="btn-challenge"
>Start Challenge</a
>
</div>
<!-- Day 2 -->
<div class="day-card">
<div>
<h2>Day 2</h2>
<ul class="lesson-list">
<li>
▶
<a href="/Day_02/05_CSS_Color_Schemes/index.html"
>HTML & CSS Color Schemes</a
>
</li>
<li>▶ Some Basic CSS Property</li>
<li>
▶
<a href="/Day_02/06_CSS_Property/6_CSS Padding & Margin.html"
>Box Model (Padding/Margin)</a
>
</li>
<li>
<a
href="/Day_02/Challenge/06_challenge.html"
style="
display: block;
margin: 1px 0 1px 20px;
color: lightcoral;
"
>Challenge</a
>
</li>
<li>▶ Inline vs Block vs Inline-block</li>
</ul>
</div>
<a
href="https://sanju10.notion.site/Day-2-2f772efe2308804180a7f4f66f8de056?pvs=74"
class="notes"
>Notes</a
>
<a href="/Day_02/Challenge/index.html" class="btn-challenge"
>Start Challenge</a
>
</div>
<!-- Day 3 -->
<div class="day-card">
<div>
<h2>Day 3</h2>
<ul class="lesson-list">
<li>▶ HTML Tables</li>
<li>▶ Divs Challenge</li>
<li>▶ Flexbox: Axis & Alignment</li>
<li>▶ Spacing, Direction & Gap</li>
<li>▶ Flex-wrap, Flex-shrink & Flex-grow</li>
<li>
<a
href="/Day_03/Challenge/day_challenge.html"
style="
display: block;
margin: 1px 0 1px 20px;
color: lightcoral;
"
>Challenge</a
>
</li>
</ul>
</div>
<a
href="https://sanju10.notion.site/Day-3-2f972efe230880f69de7e258611ccc0b?pvs=73"
class="notes"
>Notes</a
>
<a href="/Day_03/Challenge/index.html" class="btn-challenge"
>Start Challenge</a
>
</div>
<!-- Day 4 -->
<div class="day-card">
<div>
<h2>Day 4</h2>
<ul class="lesson-list">
<li>▶ <a href="https://favicon.io/">Favicon</a></li>
<li>▶ ID vs Class</li>
<li>
▶
<a href="/Day_04/11_ID/3_bookmarks.html"
>Bookmarks & Smooth Scrolling</a
>
</li>
<li>
▶
<a href="/Day_04/12_button/2_form.html"
>Buttons (Submit, Reset, Button)</a
>
</li>
<li>▶ <a href="/Day_04/13_Iframes/1.html">Iframes</a></li>
<li>
▶ <a href="/Day_04/14_Layout/float.html">Float</a>,
<a href="Day_04/14_Layout/flexbox.html">Flex</a>, &
<a href="Day_04/15_grid/grid.html">Grid Layouts</a>
</li>
<li>
<a
href="/Day_04/Challenge/day_challenge.html"
style="
display: block;
margin: 1px 0 1px 20px;
color: lightcoral;
"
>Challenge</a
>
</li>
</ul>
</div>
<a
href="https://sanju10.notion.site/Day-4-2fa72efe230880e99c03e934ee569081?pvs=73"
class="notes"
>Notes</a
>
<a href="/Day_04/Challenge/index.html" class="btn-challenge"
>Start Challenge</a
>
</div>
<!-- Day 5 -->
<div class="day-card">
<div>
<h2>Day 5</h2>
<ul class="lesson-list">
<li>▶ CSS Transition</li>
<li>▶ CSS Animations & @keyframes</li>
<li>▶ Animation Timing (Delay, Iteration, Function)</li>
<li>▶ Direction, Fill Mode & Shorthand</li>
<li>
<a
href="/Day_05/Challenge/daychallenge.html"
style="
display: block;
margin: 1px 0 1px 20px;
color: lightcoral;
"
>Challenge</a
>
</li>
</ul>
</div>
<a
href="https://sanju10.notion.site/Day-5-31172efe230880b0bf19e03ef148a805?pvs=73"
class="notes"
>Notes</a
>
<a href="/Day_05/Challenge/index.html" class="btn-challenge"
>Start Challenge</a
>
</div>
<!-- Day 6 -->
<div class="day-card">
<div>
<h2>Day 6</h2>
<ul class="lesson-list">
<li>
▶
<a href="/Day_06/Chrome DevTools/devtools.html"
>Chrome DevTools</a
>
</li>
<li>
▶
<a href="/Day_06/GitHub Pages Hosting/hosting.html"
>GitHub Pages Hosting</a
>
</li>
<li>
▶
<a href="/Day_06/static_site.html"> Portfolio</a>
</li>
</ul>
</div>
<a
href="https://sanju10.notion.site/Day-6-32a72efe2308805aa057fec25a35bdf3?source=copy_link"
class="notes"
>Notes</a
>
<a href="/Day_06/Challenge/index.html" class="btn-challenge"
>Start Project</a
>
</div>
<!-- Day 7 -->
<div class="day-card">
<div>
<h2>Day 7</h2>
<ul class="lesson-list">
<li>▶ Connection with HTML & Outputs (Console, Alert)</li>
<li>▶ DOM Manipulation Basics (textContent)</li>
<li>▶ Variables (let vs const) & Data Types</li>
<li>▶ Arithmetic Operators & Type Conversion</li>
<li>▶ Math Object & Random Number Generation</li>
</ul>
<div class="exercise-container">
<button
class="btn-exercise"
onclick="toggleExercise(7, 'class', event)"
>
Class Exercise
</button>
<button
class="btn-exercise"
onclick="toggleExercise(7, 'home', event)"
>
Home Exercise
</button>
</div>
<div id="dropdown-7-class" class="exercise-dropdown">
<strong>Age Calculator:</strong>
Write a script that uses window.prompt() to ask for the user's
birth year. Convert that input to a Number, calculate their
current age, and display it using console.log() or a
window.alert().
</div>
<div id="dropdown-7-home" class="exercise-dropdown">
<strong>Simple Web Calculator:</strong>
Create an HTML file with an empty <h2> block having
id="result". Write a script that asks the user for two separate
numbers using prompt(), adds them together, and updates the
textContent of the <h2> block to show: "The sum is:
[result]".
</div>
</div>
<a
href="https://sanju10.notion.site/Day-7-31372efe230880bda213d4c9934a21a2?pvs=73"
class="notes"
>Notes</a
>
</div>
<!-- Day 8 -->
<div class="day-card">
<div>
<h2>Day 8</h2>
<ul class="lesson-list">
<li>▶ If Statements & Checked Property</li>
<li>▶ Ternary Operator & Switch Statements</li>
<li>▶ String Methods (trim, upper, lower, indexOf)</li>
<li>▶ String Slicing & Method Chaining</li>
<li>▶ Logical Operators & Strict Equality</li>
</ul>
<div class="exercise-container">
<button
class="btn-exercise"
onclick="toggleExercise(8, 'class', event)"
>
Class Exercise
</button>
<button
class="btn-exercise"
onclick="toggleExercise(8, 'home', event)"
>
Home Exercise
</button>
</div>
<div id="dropdown-8-class" class="exercise-dropdown">
<strong>Greeting Formatter:</strong>
Ask the user for their name via prompt(). If they enter nothing,
use an if statement to alert "Name is required". Otherwise, use
string methods to alert their name in all uppercase.
</div>
<div id="dropdown-8-home" class="exercise-dropdown">
<strong>Terms & Conditions Validator:</strong>
Create an HTML page with a name input, a checkbox for "Accept
Terms", and a Submit button. Check if name is not empty and
checkbox is checked. Log welcome message or alert "must accept
terms".
</div>
</div>
<a
href="https://sanju10.notion.site/Day-8-33372efe23088017ab46cd74c7de29be?pvs=73"
class="notes"
>Notes</a
>
</div>
<!-- Day 9 -->
<div class="day-card">
<div>
<h2>Day 9</h2>
<ul class="lesson-list">
<li>▶ While & Do-While Loops</li>
<li>▶ For Loops (Iterate, Continue, Break)</li>
<li>▶ Number Guessing Game Logic</li>
<li>▶ Functions (Declaration, Calling, Returns)</li>
<li>▶ Variable Scope (Global vs Local)</li>
</ul>
<div class="exercise-container">
<button
class="btn-exercise"
onclick="toggleExercise(9, 'class', event)"
>
Class Exercise
</button>
<button
class="btn-exercise"
onclick="toggleExercise(9, 'home', event)"
>
Home Exercise
</button>
</div>
<div id="dropdown-9-class" class="exercise-dropdown">
<strong>Even Number Printer:</strong>
Write a for loop that iterates from 1 to 20. Use an if statement
inside the loop to check if the number is even, and if so,
console.log() it.
</div>
<div id="dropdown-9-home" class="exercise-dropdown">
<strong>Temp Conversion Engine:</strong>
Write a function celsiusToFahrenheit(c) that returns the converted
temp. Use a while loop to continuously ask for Celsius input. If
"stop" is typed, break. Otherwise, log the conversion result.
</div>
</div>
<a href="https://sanju10.notion.site/Day-9-33c72efe2308802e9450e1a339e34354?source=copy_link" class="notes">Notes</a>
</div>
<!-- Day 10 -->
<div class="day-card">
<div>
<h2>Day 10</h2>
<ul class="lesson-list">
<li>▶ Arrays (push, pop, unshift, shift)</li>
<li>▶ Spread Operator (...) & Rest Parameters</li>
<li>▶ Dice Roller Program</li>
<li>▶ Random Password Generator</li>
<li>▶ Callbacks</li>
</ul>
<div class="exercise-container">
<button
class="btn-exercise"
onclick="toggleExercise(10, 'class', event)"
>
Class Exercise
</button>
<button
class="btn-exercise"
onclick="toggleExercise(10, 'home', event)"
>
Home Exercise
</button>
</div>
<div id="dropdown-10-class" class="exercise-dropdown">
<strong>Password Generator logic:</strong>
Write a simple function createPin() that uses Math.random()
to generate and return a 4-digit numeric PIN as a string. Log the PIN.
</div>
<div id="dropdown-10-home" class="exercise-dropdown">
<strong>Dice Roller Callback:</strong>
Create a function rollDice(callback) that generates a random number between 1 and 6,
and passes that number to the callback function.
</div>
</div>
<a href="https://sanju10.notion.site/Day-10-33c72efe2308804abd29ec7828466843?source=copy_link" class="notes">Notes</a>
</div>
<!-- Day 11 -->
<div class="day-card">
<div>
<h2>Day 11</h2>
<ul class="lesson-list">
<li>▶ Array Iteration (forEach, map)</li>
<li>▶ Array Iteration (filter, reduce)</li>
<li>▶ Function Expressions</li>
<li>▶ Arrow Functions</li>
</ul>
<div class="exercise-container">
<button
class="btn-exercise"
onclick="toggleExercise(11, 'class', event)"
>
Class Exercise
</button>
<button
class="btn-exercise"
onclick="toggleExercise(11, 'home', event)"
>
Home Exercise
</button>
</div>
<div id="dropdown-11-class" class="exercise-dropdown">
<strong>Arrow Function Filter:</strong>
Create an array of numbers. Use .filter() with an arrow function
to find all numbers greater than 10. Log the resulting array.
</div>
<div id="dropdown-11-home" class="exercise-dropdown">
<strong>Data Pipeline (Chaining Methods):</strong>
Create an array of product prices. Use .filter() to get prices over $20,
use .map() to add a 10% tax, and .reduce() to find the total sum.
</div>
</div>
<a href="https://sanju10.notion.site/Day-11-33c72efe2308805b8989d41197f9e4e4?source=copy_link" class="notes">Notes</a>
</div>
<!-- Day 12 -->
<div class="day-card">
<div>
<h2>Day 12</h2>
<ul class="lesson-list">
<li>
<details>
<summary style="cursor: pointer; outline: none; transition: color 0.2s;">Web Development Tools</summary>
<div style="padding: 10px 0 5px 15px; font-size: 0.85rem; color: #aaa; line-height: 1.5;">
Help developers build, test, deploy, and maintain apps.
<ul style="padding-left: 20px; margin-top: 5px; color: #999;">
<li>Designing UI (Frontend)</li>
<li>Writing server logic (Backend)</li>
<li>Managing databases</li>
<li>Deploying apps to the internet</li>
</ul>
</div>
</details>
</li>
<li>
<details>
<summary style="cursor: pointer; outline: none; transition: color 0.2s;">Frontend & Backend Frameworks</summary>
<div style="padding: 10px 0 5px 15px; font-size: 0.85rem; color: #aaa; line-height: 1.5;">
<strong style="color: #ccc;">Frontend:</strong> HTML, CSS, JS<br>
<span style="color: #888;">Frameworks:</span> React, Angular, Vue, Svelte<br>
<span style="color: #888;">Tools:</span> VS Code, Chrome DevTools, Figma<br>
<br>
<strong style="color: #ccc;">Backend:</strong> Server logic, databases, APIs<br>
<span style="color: #888;">Frameworks:</span> Node.js, Django, Laravel, FastAPI
</div>
</details>
</li>
<li>
<details>
<summary style="cursor: pointer; outline: none; transition: color 0.2s;">Database Tools</summary>
<div style="padding: 10px 0 5px 15px; font-size: 0.85rem; color: #aaa; line-height: 1.5;">
<ul style="padding-left: 20px; margin: 0; color: #999;">
<li><strong style="color: #ccc;">MongoDB:</strong> NoSQL database</li>
<li><strong style="color: #ccc;">MySQL / PostgreSQL:</strong> SQL databases</li>
<li><strong style="color: #ccc;">Firebase:</strong> Real-time database</li>
</ul>
</div>
</details>
</li>
<li>
<details>
<summary style="cursor: pointer; outline: none; transition: color 0.2s;">Deployment Platforms</summary>
<div style="padding: 10px 0 5px 15px; font-size: 0.85rem; color: #aaa; line-height: 1.5;">
<strong style="color: #ccc;">Frontend:</strong> Netlify, Vercel, GitHub Pages<br>
<strong style="color: #ccc;">Backend:</strong> Render, Railway, AWS, GCP<br>
<strong style="color: #ccc;">Full-Stack:</strong> Firebase, Supabase
</div>
</details>
</li>
<li>
<details>
<summary style="cursor: pointer; outline: none; transition: color 0.2s;">Essential Developer Tools</summary>
<div style="padding: 10px 0 5px 15px; font-size: 0.85rem; color: #aaa; line-height: 1.5;">
<ul style="padding-left: 20px; margin: 0; color: #999;">
<li><strong style="color: #ccc;">Version Control:</strong> Git, GitHub</li>
<li><strong style="color: #ccc;">API Testing:</strong> Postman</li>
<li><strong style="color: #ccc;">Containerization:</strong> Docker</li>
</ul>
</div>
</details>
</li>
</ul>
<div class="exercise-container">
<button
class="btn-exercise"
onclick="toggleExercise(12, 'home', event)"
>
Home Exercise
</button>
</div>
<div id="dropdown-12-class" class="exercise-dropdown">
<strong>Tech Stack Summary:</strong>
Write a short summary of the difference between frontend and backend development tools.
</div>
<div id="dropdown-12-home" class="exercise-dropdown">
<strong>Deployment Setup:</strong>
Create an account on a platform like Vercel or Netlify to prepare for your first deployment.
</div>
</div>
<a href="https://sanju10.notion.site/Day-12-33d72efe2308802e92c9c9e5688ac481?source=copy_link" class="notes">Notes</a>
</div>
</div>
</div>
<script>
function toggleExercise(day, type, event) {
const dropdownId = `dropdown-${day}-${type}`;
const dropdown = document.getElementById(dropdownId);
const card = dropdown.closest(".day-card");
const btn = event.currentTarget;
const isCurrentlyShowing = dropdown.classList.contains("show");
// Close all other dropdowns and deactivate all buttons in this card
card
.querySelectorAll(".exercise-dropdown")
.forEach((d) => d.classList.remove("show"));
card
.querySelectorAll(".btn-exercise")
.forEach((b) => b.classList.remove("active"));
if (!isCurrentlyShowing) {
dropdown.classList.add("show");
btn.classList.add("active");
}
}
</script>
</body>
</html>