-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoubt-solver.html.html
More file actions
195 lines (181 loc) · 8.96 KB
/
Copy pathdoubt-solver.html.html
File metadata and controls
195 lines (181 loc) · 8.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Doubt Solver - Instant Help</title>
<link rel="stylesheet" href="assets/css/main.css">
<link rel="stylesheet" href="assets/css/responsive.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<nav class="navbar">
<div class="container">
<div class="logo">
<i class="fas fa-brain"></i>
<span>Doubt Solver</span>
</div>
<ul class="nav-menu">
<li><a href="index.html"><i class="fas fa-home"></i> Home</a></li>
<li><a href="ai-tutor.html"><i class="fas fa-robot"></i> AI Tutor</a></li>
<li><a href="doubt-solver.html" class="active"><i class="fas fa-question-circle"></i> Doubt Solver</a></li>
<li><a href="courses.html"><i class="fas fa-book"></i> Courses</a></li>
<li><a href="profile.html"><i class="fas fa-user"></i> Profile</a></li>
</ul>
</div>
</nav>
<div class="doubt-solver-container">
<div class="doubt-header">
<h1>AI Doubt Solver</h1>
<p>Get instant step-by-step solutions to any academic doubt</p>
</div>
<div class="solver-grid">
<!-- Input Section -->
<div class="input-section">
<div class="input-methods">
<div class="method-tabs">
<button class="method-tab active" data-method="text">
<i class="fas fa-keyboard"></i> Type Question
</button>
<button class="method-tab" data-method="image">
<i class="fas fa-image"></i> Upload Image
</button>
<button class="method-tab" data-method="voice">
<i class="fas fa-microphone"></i> Voice Input
</button>
</div>
<div class="method-content active" id="text-input">
<div class="subject-select">
<label for="subject"><i class="fas fa-book"></i> Subject:</label>
<select id="subject">
<option value="general">General</option>
<option value="mathematics">Mathematics</option>
<option value="physics">Physics</option>
<option value="chemistry">Chemistry</option>
<option value="biology">Biology</option>
<option value="english">English</option>
<option value="programming">Programming</option>
</select>
</div>
<textarea id="doubt-text"
placeholder="Type your doubt here...
Example: 'Explain the concept of photosynthesis' or
'Solve: 2x + 5 = 15'"
rows="6"></textarea>
<div class="input-actions">
<button id="solve-doubt" class="btn-solve">
<i class="fas fa-bolt"></i> Solve My Doubt
</button>
<button id="clear-input" class="btn-clear">
<i class="fas fa-trash"></i> Clear
</button>
</div>
</div>
<div class="method-content" id="image-input">
<div class="image-upload-area">
<i class="fas fa-cloud-upload-alt"></i>
<h3>Upload Image of Your Doubt</h3>
<p>Take a photo or upload image of your question</p>
<input type="file" id="image-upload" accept="image/*" hidden>
<label for="image-upload" class="btn-upload">
<i class="fas fa-camera"></i> Choose Image
</label>
<div class="image-preview" id="image-preview"></div>
</div>
</div>
<div class="method-content" id="voice-input">
<div class="voice-input-area">
<i class="fas fa-microphone"></i>
<h3>Speak Your Doubt</h3>
<p>Click the microphone and speak your question clearly</p>
<button id="start-recording" class="btn-record">
<i class="fas fa-microphone"></i> Start Recording
</button>
<div class="recording-status" id="recording-status">
Not recording
</div>
<div class="voice-preview" id="voice-preview"></div>
</div>
</div>
</div>
<div class="quick-doubts">
<h3><i class="fas fa-bolt"></i> Quick Solve Examples:</h3>
<div class="quick-doubt-buttons">
<button class="quick-doubt" data-doubt="Solve for x: 2x + 5 = 15">
Algebra Equation
</button>
<button class="quick-doubt" data-doubt="Explain Newton's First Law of Motion">
Newton's Law
</button>
<button class="quick-doubt" data-doubt="What is photosynthesis process?">
Photosynthesis
</button>
<button class="quick-doubt" data-doubt="How to write a for loop in Python?">
Python Loop
</button>
</div>
</div>
</div>
<!-- Solution Section -->
<div class="solution-section">
<div class="solution-header">
<h2><i class="fas fa-lightbulb"></i> AI Solution</h2>
<div class="solution-controls">
<button id="copy-solution">
<i class="fas fa-copy"></i> Copy
</button>
<button id="save-solution">
<i class="fas fa-save"></i> Save
</button>
<button id="speak-solution">
<i class="fas fa-volume-up"></i> Speak
</button>
</div>
</div>
<div class="solution-content" id="solution-content">
<div class="placeholder-solution">
<i class="fas fa-robot"></i>
<h3>Your solution will appear here</h3>
<p>Type or upload your doubt to get instant AI-powered solution</p>
</div>
</div>
<div class="solution-features">
<h3><i class="fas fa-star"></i> Features:</h3>
<div class="features-list">
<div class="feature-item">
<i class="fas fa-list-ol"></i>
<span>Step-by-step solutions</span>
</div>
<div class="feature-item">
<i class="fas fa-history"></i>
<span>Save doubt history</span>
</div>
<div class="feature-item">
<i class="fas fa-book"></i>
<span>Related concepts</span>
</div>
<div class="feature-item">
<i class="fas fa-question"></i>
<span>Similar questions</span>
</div>
</div>
</div>
<div class="similar-questions">
<h3><i class="fas fa-link"></i> Related Questions:</h3>
<div class="questions-list" id="similar-questions">
<!-- Similar questions will appear here -->
</div>
</div>
</div>
</div>
<!-- Doubt History -->
<div class="doubt-history">
<h2><i class="fas fa-history"></i> Recent Doubts</h2>
<div class="history-list" id="doubt-history">
<!-- History will be loaded here -->
</div>
</div>
</div>
<script src="assets/js/doubt-solver.js"></script>
</body>
</html>