-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
401 lines (391 loc) · 21 KB
/
index.html
File metadata and controls
401 lines (391 loc) · 21 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
<!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="Learn GitHub Copilot - Interactive learning platform with guides, flashcards, case studies, quizzes, and more">
<meta name="keywords" content="GitHub Copilot, AI Programming, Learning, Tutorial, Copilot Guide">
<title>GitHub Copilot Learning Platform</title>
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/chatbot.css">
</head>
<body>
<!-- Header -->
<header class="header">
<div class="container">
<div class="header-content">
<div class="logo">
<svg class="logo-icon" width="40" height="40" viewBox="0 0 40 40" fill="none">
<circle cx="20" cy="20" r="18" fill="#8B5CF6"/>
<path d="M20 8L24 16H28L22 22L24 30L20 26L16 30L18 22L12 16H16L20 8Z" fill="white"/>
</svg>
<h1 class="logo-text">GitHub Copilot Learning</h1>
</div>
<div class="search-container">
<button class="search-toggle" aria-label="Toggle search" id="search-toggle">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none">
<path d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16zM19 19l-4.35-4.35" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<input type="search"
class="search-input"
id="global-search"
placeholder="Search guides, cards, caselets, quiz... (Ctrl+F or /)"
aria-label="Search all content">
<button class="search-clear" id="search-clear" aria-label="Clear search">×</button>
</div>
<nav class="nav">
<button class="nav-toggle" aria-label="Toggle navigation">
<span></span>
<span></span>
<span></span>
</button>
<ul class="nav-menu">
<li><a href="#home" class="nav-link active">Home</a></li>
<li><a href="#guides" class="nav-link">Learning Guides</a></li>
<li><a href="#memory-cards" class="nav-link">Memory Cards</a></li>
<li><a href="#caselets" class="nav-link">Caselets</a></li>
<li><a href="#mcq" class="nav-link">Quiz</a></li>
<li><a href="#fun-facts" class="nav-link">Fun Facts</a></li>
<li><a href="#ponder" class="nav-link">Points to Ponder</a></li>
</ul>
</nav>
</div>
</div>
</header>
<!-- Main Content -->
<main>
<!-- Hero Section -->
<section id="home" class="hero">
<div class="container">
<div class="hero-content">
<h2 class="hero-title">Master GitHub Copilot</h2>
<p class="hero-subtitle">Your comprehensive guide to becoming a GitHub Copilot expert</p>
<p class="hero-description">
Explore interactive learning guides, practice with flashcards, solve real-world case studies,
test your knowledge, and discover fascinating insights about AI-powered programming.
</p>
<div class="hero-cta">
<a href="#guides" class="btn btn-primary">Start Learning</a>
<a href="#mcq" class="btn btn-secondary">Take a Quiz</a>
</div>
</div>
<div class="hero-stats">
<div class="stat-card">
<div class="stat-number">7+</div>
<div class="stat-label">Learning Guides</div>
</div>
<div class="stat-card">
<div class="stat-number">30+</div>
<div class="stat-label">Memory Cards</div>
</div>
<div class="stat-card">
<div class="stat-number">15+</div>
<div class="stat-label">Quiz Questions</div>
</div>
<div class="stat-card">
<div class="stat-number">10+</div>
<div class="stat-label">Case Studies</div>
</div>
</div>
</div>
</section>
<!-- Search Results Section -->
<section id="search-results" class="section search-results-section" style="display: none;">
<div class="container">
<div class="search-results-header">
<h2 class="section-title">Search Results</h2>
<button class="btn btn-secondary" id="clear-search-btn">Clear Search</button>
</div>
<div class="search-filters">
<div class="filter-group">
<h3>Content Type</h3>
<label class="filter-checkbox">
<input type="checkbox" value="guides" class="filter-type" checked>
<span>Learning Guides</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" value="cards" class="filter-type" checked>
<span>Memory Cards</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" value="caselets" class="filter-type" checked>
<span>Caselets</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" value="quiz" class="filter-type" checked>
<span>Quiz Questions</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" value="facts" class="filter-type" checked>
<span>Fun Facts</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" value="ponder" class="filter-type" checked>
<span>Points to Ponder</span>
</label>
</div>
<div class="filter-group" id="category-filters">
<h3>Categories</h3>
<!-- Generated dynamically -->
</div>
<div class="filter-group" id="difficulty-filters">
<h3>Difficulty</h3>
<label class="filter-checkbox">
<input type="checkbox" value="beginner" class="filter-difficulty" checked>
<span>Beginner</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" value="intermediate" class="filter-difficulty" checked>
<span>Intermediate</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" value="advanced" class="filter-difficulty" checked>
<span>Advanced</span>
</label>
</div>
</div>
<div class="search-results-info">
<p id="results-count">0 results found</p>
</div>
<div id="search-results-container" class="search-results-grid">
<!-- Results will be generated by JavaScript -->
</div>
</div>
</section>
<!-- Learning Guides Section -->
<section id="guides" class="section">
<div class="container">
<h2 class="section-title">Learning Guides</h2>
<p class="section-description">Comprehensive tutorials to master GitHub Copilot from basics to advanced techniques</p>
<div class="guides-grid" id="guides-container">
<!-- Generated by JavaScript -->
</div>
</div>
</section>
<!-- Memory Cards Section -->
<section id="memory-cards" class="section section-alt">
<div class="container">
<h2 class="section-title">Memory Cards</h2>
<p class="section-description">Interactive flashcards to reinforce your learning</p>
<div class="memory-cards-container">
<div class="card-controls">
<div class="filter-dropdowns">
<select id="card-category" class="filter-select" multiple>
<option value="all">All Categories</option>
<option value="basics">Basics</option>
<option value="shortcuts">Shortcuts</option>
<option value="prompts">Prompt Engineering</option>
<option value="best-practices">Best Practices</option>
</select>
<select id="card-difficulty" class="filter-select" multiple>
<option value="all">All Difficulties</option>
<option value="beginner">Beginner</option>
<option value="intermediate">Intermediate</option>
<option value="advanced">Advanced</option>
</select>
<select id="card-status" class="filter-select" multiple>
<option value="all">All Status</option>
<option value="not-started">Not Started</option>
<option value="in-progress">In Progress</option>
<option value="completed">Completed</option>
</select>
</div>
<div class="card-actions">
<button id="clear-card-filters" class="btn btn-small btn-secondary">Clear Filters</button>
<button id="shuffle-cards" class="btn btn-small">Shuffle</button>
</div>
</div>
<div id="active-card-filters" class="active-filters"></div>
<div class="card-display">
<div id="memory-card" class="memory-card">
<div class="card-inner">
<div class="card-front">
<div class="card-content">
<span class="card-badge">Loading...</span>
<p class="card-question">Click to start</p>
</div>
</div>
<div class="card-back">
<div class="card-content">
<p class="card-answer">Loading...</p>
</div>
</div>
</div>
</div>
</div>
<div class="card-navigation">
<button id="prev-card" class="btn btn-small">← Previous</button>
<span id="card-counter" class="card-counter">1 / 30</span>
<button id="next-card" class="btn btn-small">Next →</button>
</div>
</div>
</div>
</section>
<!-- Caselets Section -->
<section id="caselets" class="section">
<div class="container">
<h2 class="section-title">Caselets</h2>
<p class="section-description">Real-world case studies and practical examples</p>
<div class="caselet-controls">
<div class="filter-dropdowns">
<select id="caselet-domain" class="filter-select" multiple>
<option value="all">All Domains</option>
</select>
<select id="caselet-complexity" class="filter-select" multiple>
<option value="all">All Complexities</option>
<option value="beginner">Beginner</option>
<option value="intermediate">Intermediate</option>
<option value="advanced">Advanced</option>
</select>
<select id="caselet-type" class="filter-select" multiple>
<option value="all">All Types</option>
</select>
</div>
<button id="clear-caselet-filters" class="btn btn-small btn-secondary">Clear Filters</button>
</div>
<div id="active-caselet-filters" class="active-filters"></div>
<div class="caselets-grid" id="caselets-container">
<!-- Generated by JavaScript -->
</div>
</div>
</section>
<!-- MCQ Section -->
<section id="mcq" class="section section-alt">
<div class="container">
<h2 class="section-title">Knowledge Quiz</h2>
<p class="section-description">Test your GitHub Copilot knowledge</p>
<div class="quiz-controls">
<div class="filter-dropdowns">
<select id="quiz-subject" class="filter-select" multiple>
<option value="all">All Subjects</option>
</select>
<select id="quiz-difficulty" class="filter-select" multiple>
<option value="all">All Difficulties</option>
<option value="beginner">Beginner</option>
<option value="intermediate">Intermediate</option>
<option value="advanced">Advanced</option>
</select>
<select id="quiz-type" class="filter-select" multiple>
<option value="all">All Types</option>
<option value="Conceptual">Conceptual</option>
<option value="Practical">Practical</option>
</select>
</div>
<button id="clear-quiz-filters" class="btn btn-small btn-secondary">Clear Filters</button>
</div>
<div id="active-quiz-filters" class="active-filters"></div>
<div class="quiz-container" id="quiz-container">
<div class="quiz-start" id="quiz-start">
<div class="quiz-intro">
<h3>Ready to test your knowledge?</h3>
<p>This quiz contains multiple choice questions covering various aspects of GitHub Copilot.</p>
<ul class="quiz-features">
<li>✓ Instant feedback on your answers</li>
<li>✓ Detailed explanations</li>
<li>✓ Track your score</li>
</ul>
<button id="start-quiz" class="btn btn-primary">Start Quiz</button>
</div>
</div>
<div class="quiz-question" id="quiz-question" style="display: none;">
<!-- Generated by JavaScript -->
</div>
<div class="quiz-results" id="quiz-results" style="display: none;">
<!-- Generated by JavaScript -->
</div>
</div>
</div>
</section>
<!-- Fun Facts Section -->
<section id="fun-facts" class="section">
<div class="container">
<h2 class="section-title">Fun Facts</h2>
<p class="section-description">Interesting tidbits about GitHub Copilot</p>
<div class="fact-controls">
<div class="filter-dropdowns">
<select id="fact-category" class="filter-select" multiple>
<option value="all">All Categories</option>
</select>
<select id="fact-type" class="filter-select" multiple>
<option value="all">All Types</option>
</select>
</div>
<button id="clear-fact-filters" class="btn btn-small btn-secondary">Clear Filters</button>
</div>
<div id="active-fact-filters" class="active-filters"></div>
<div class="fun-facts-container">
<div class="fact-display" id="fact-display">
<div class="fact-icon">💡</div>
<p class="fact-text" id="fact-text">Click the button to discover a fun fact!</p>
<span class="fact-category" id="fact-category"></span>
</div>
<button id="new-fact" class="btn btn-primary">Show Me a Fact!</button>
</div>
</div>
</section>
<!-- Points to Ponder Section -->
<section id="ponder" class="section section-alt">
<div class="container">
<h2 class="section-title">Points to Ponder</h2>
<p class="section-description">Thought-provoking questions to deepen your understanding</p>
<div class="ponder-controls">
<div class="filter-dropdowns">
<select id="ponder-theme" class="filter-select" multiple>
<option value="all">All Themes</option>
</select>
<select id="ponder-complexity" class="filter-select" multiple>
<option value="all">All Complexities</option>
<option value="beginner">Beginner</option>
<option value="intermediate">Intermediate</option>
<option value="advanced">Advanced</option>
</select>
<select id="ponder-discussion" class="filter-select" multiple>
<option value="all">All Discussion Types</option>
</select>
</div>
<button id="clear-ponder-filters" class="btn btn-small btn-secondary">Clear Filters</button>
</div>
<div id="active-ponder-filters" class="active-filters"></div>
<div class="ponder-grid" id="ponder-container">
<!-- Generated by JavaScript -->
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-section">
<h3>About This Platform</h3>
<p>A comprehensive learning resource for mastering GitHub Copilot, featuring interactive guides, quizzes, and real-world examples.</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul class="footer-links">
<li><a href="#home">Home</a></li>
<li><a href="#guides">Learning Guides</a></li>
<li><a href="#mcq">Quiz</a></li>
<li><a href="https://github.com/features/copilot" target="_blank">Official Copilot Docs</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="https://github.com/CoforgeInsurance/ThinkTank" target="_blank">GitHub Repository</a></li>
<li><a href="ARCHITECTURE.md">Architecture</a></li>
<li><a href="DESIGN.md">Design Document</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© 2024 GitHub Copilot Learning Platform. Built for educational purposes.</p>
</div>
</div>
</footer>
<script src="scripts/data.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/chatbot.js"></script>
</body>
</html>