-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidepanel.html
More file actions
63 lines (57 loc) · 2.33 KB
/
sidepanel.html
File metadata and controls
63 lines (57 loc) · 2.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DSA Hints Coach</title>
<link rel="stylesheet" href="sidepanel.css">
</head>
<body>
<div class="container">
<header class="header">
<h1 class="title">🧠 DSA Hints Coach</h1>
<p class="subtitle">AI-Powered Progressive Guidance</p>
</header>
<div class="main-content">
<div class="input-section">
<label for="problem-statement" class="label">Problem Statement:</label>
<textarea
id="problem-statement"
class="problem-textarea"
placeholder="Paste your DSA problem here or it will be auto-detected from supported websites..."
rows="6"
></textarea>
<div class="button-group">
<button id="get-hint-btn" class="btn btn-primary">
<span class="btn-text">Get Hint</span>
<div class="loading-spinner" style="display: none;"></div>
</button>
<button id="clear-btn" class="btn btn-secondary">Clear</button>
</div>
</div>
<div class="hints-section">
<h3 class="hints-title">Progressive Hints</h3>
<div id="hints-container" class="hints-container">
<div class="no-hints">
<p>Click "Get Hint" to receive progressive guidance</p>
</div>
</div>
</div>
<div class="history-section">
<h3 class="history-title">Recent Queries</h3>
<div id="history-container" class="history-container">
<!-- History items will be populated here -->
</div>
</div>
</div>
<footer class="footer">
<p>Powered by Gemini 1.5 Flash API</p>
</footer>
</div>
<!-- Load scripts in order -->
<script src="utils/prompt.js"></script>
<script src="config.js"></script>
<script src="api-service.js"></script>
<script src="sidepanel.js"></script>
</body>
</html>