-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
344 lines (320 loc) · 16 KB
/
index.html
File metadata and controls
344 lines (320 loc) · 16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>College Essay Guide</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap">
</head>
<body>
<nav>
<div class="menu-container">
<button class="menu-btn" id="menuBtn">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="6" r="2" fill="currentColor"/>
<circle cx="12" cy="12" r="2" fill="currentColor"/>
<circle cx="12" cy="18" r="2" fill="currentColor"/>
</svg>
</button>
<div class="menu-dropdown hidden" id="menuDropdown">
<div class="menu-header">
<h3>Your Essays</h3>
</div>
<div class="essay-list" id="essayList">
<!-- Essays will be populated here -->
</div>
<div class="menu-footer">
<button class="clear-essays-btn">Clear All Essays</button>
</div>
</div>
</div>
<div class="progress-container">
<div class="progress-steps">
<div class="progress-step active">
<div class="step-circle"></div>
<span class="step-label">PLANNING</span>
</div>
<div class="progress-step">
<div class="step-circle"></div>
<span class="step-label">WRITING</span>
</div>
<div class="progress-step">
<div class="step-circle"></div>
<span class="step-label">FEEDBACK</span>
</div>
</div>
</div>
<button class="notes-btn">
📝
</button>
</nav>
<main>
<div class="stage-container" id="planning-stage">
<div class="side-nav">
<div class="nav-sections">
<button class="section-btn active" data-section="prompt-section">
<span class="section-icon">📝</span>
Essay Prompt
</button>
<button class="section-btn" data-section="resume-section">
<span class="section-icon">📄</span>
Resume Analysis
</button>
<button class="section-btn" data-section="brainstorm-section">
<span class="section-icon">🤖</span>
AI Chat Assistant
</button>
<button class="section-btn" data-section="topics-section">
<span class="section-icon">💡</span>
Suggested Topics
</button>
</div>
</div>
<div class="main-content">
<h1>Planning Your Essay</h1>
<!-- Add this right after the h1 in the planning stage -->
<div class="card prompt-card" id="prompt-section">
<div class="prompt-grid">
<div class="prompt-input-section">
<h2>Essay Prompt</h2>
<div class="prompt-input-container">
<textarea
id="essayPrompt"
class="prompt-input"
placeholder="Paste your essay prompt here..."
rows="5"
></textarea>
<div class="prompt-actions">
<button class="prompt-btn" id="analyzePrompt">Analyze Prompt</button>
<button class="prompt-btn secondary" id="clearPrompt">Clear</button>
</div>
</div>
</div>
<div class="prompt-analysis-section">
<h2>Prompt Analysis</h2>
<div class="analysis-content" id="promptAnalysis">
<p class="helper-text">Analysis will appear here after you enter and analyze a prompt.</p>
</div>
</div>
</div>
</div>
<!-- Resume Upload Card -->
<div class="card upload-card" id="resume-section">
<h2>Upload Your Resume</h2>
<p class="helper-text">Upload your resume to get personalized topic suggestions</p>
<div class="upload-area" id="uploadArea">
<input type="file" id="resumeUpload" accept=".pdf,.doc,.docx" hidden>
<div class="upload-content">
<div class="upload-icon">⬆️</div>
<p>Drag and drop your resume or <span class="upload-link">browse files</span></p>
</div>
</div>
<!-- Add this new section for relevant activities -->
<div class="relevant-activities hidden" id="relevantActivities">
<h3>Relevant Activities from Your Resume Based on Your Prompt</h3>
<div class="activities-list">
<!-- Activities will be populated here -->
</div>
</div>
</div>
<!-- AI Chat Assistant Card -->
<div class="card chat-card" id="brainstorm-section">
<h2>AI Brainstorming Assistant</h2>
<div class="chat-container">
<div class="chat-messages" id="chatMessages">
<div class="message bot">
<div class="bot-avatar">🤖</div>
<div class="message-content">
Hi! I'm here to help you brainstorm essay ideas. Would you like to start with your resume insights or explore topic ideas?
</div>
</div>
</div>
<div class="chat-input">
<input type="text" id="userInput" placeholder="Type your message...">
<button id="sendMessage">Send</button>
</div>
</div>
</div>
<!-- Topic Suggestions Card -->
<div class="card suggestions-card" id="topics-section">
<h2>Suggested Topics</h2>
<div class="suggestions-container" id="topicSuggestions">
<!-- Suggestions will be populated by JavaScript -->
</div>
<button class="next-btn">Continue to Writing</button>
</div>
</div>
</div>
<div class="stage-container hidden" id="writing-stage">
<div class="writing-section">
<div class="prompt-display">
<h3>Your Prompt</h3>
<p id="selectedPrompt"><!-- Will be populated by JavaScript --></p>
</div>
<div class="writing-container">
<div class="writing-tools">
<div class="tool-btn">
<span class="tool-icon">📊</span>
<div class="count-display">
<span id="wordCount">0 words</span>
<span class="count-divider">•</span>
<span id="charCount">0 characters</span>
</div>
</div>
<button class="tool-btn">
<span class="tool-icon">💾</span>
Save Draft
</button>
<button class="tool-btn">
<span class="tool-icon">✍️</span>
Grammar Check
</button>
</div>
<div class="editor-container">
<textarea
class="essay-editor"
placeholder="Start writing your essay here..."
></textarea>
<div class="writing-progress">
<div class="progress-info">
<span>Prompt Adherence</span>
<span class="progress-percentage">70%</span>
</div>
<div class="progress-track">
<div class="progress-fill" style="width: 70%"></div>
</div>
</div>
</div>
<button class="next-btn">Continue to Feedback</button>
</div>
</div>
</div>
<div class="stage-container hidden" id="feedback-stage">
<div class="feedback-layout">
<div class="feedback-editor">
<div class="editor-header">
<h2>Your Essay</h2>
<div class="editor-tools">
<button class="tool-btn">
<span class="tool-icon">💾</span>
Save
</button>
<button class="tool-btn">
<span class="tool-icon">📋</span>
Copy
</button>
</div>
</div>
<div class="essay-content" contenteditable="true">
<!-- Essay content will be loaded here -->
</div>
</div>
<div class="feedback-sidebar">
<div class="sidebar-tabs">
<button class="tab-btn active" data-tab="stats">Stats</button>
<button class="tab-btn" data-tab="feedback">Feedback</button>
</div>
<div class="tab-content active" id="stats-tab">
<div class="stat-item">
<span class="stat-label">Readability</span>
<span class="stat-value">Grade 8</span>
</div>
<div class="stat-item">
<span class="stat-label">Sentence Complexity</span>
<span class="stat-value">3 of 12 sentences are hard to read</span>
</div>
<div class="stat-item">
<span class="stat-label">Passive Voice</span>
<span class="stat-value">4 instances</span>
</div>
<div class="stat-item">
<span class="stat-label">Word Count</span>
<span class="stat-value">0</span>
</div>
<div class="stat-item">
<span class="stat-label">Character Count</span>
<span class="stat-value">0</span>
</div>
</div>
<div class="tab-content" id="feedback-tab">
<div class="feedback-header">
<div class="feedback-score">
<span class="score">A-</span>
<span class="score-label">Overall Grade</span>
</div>
<div class="feedback-actions">
<button class="edit-essay-btn">
<span class="btn-icon">✏️</span>
Edit Essay
</button>
<button class="refresh-feedback-btn">
<span class="btn-icon">🔄</span>
Refresh Feedback
</button>
<button class="view-feedback-btn">View Detailed Feedback</button>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Add this at the end of the body, before scripts -->
<div class="notes-popup" id="notesPopup">
<div class="notes-content">
<div class="notes-header">
<h2>Notes</h2>
<button class="close-notes">×</button>
</div>
<textarea id="userNotes" class="notes-textarea" placeholder="Write your notes here..."></textarea>
<div class="notes-footer">
<button class="save-notes">Save Notes</button>
</div>
</div>
</div>
<!-- Add this new feedback modal at the end of body, before scripts -->
<div class="feedback-popup" id="feedbackPopup">
<div class="feedback-modal">
<div class="feedback-modal-header">
<h2>Detailed Feedback</h2>
<button class="close-feedback">×</button>
</div>
<div class="feedback-modal-content">
<div class="feedback-sections">
<div class="feedback-section">
<h3>Strengths</h3>
<ul class="feedback-list">
<li>Strong thesis statement that clearly outlines your main argument</li>
<li>Effective use of personal experiences to support your points</li>
<li>Clear organization and logical flow between paragraphs</li>
</ul>
</div>
<div class="feedback-section">
<h3>Areas for Improvement</h3>
<ul class="feedback-list">
<li>Consider adding more specific examples in paragraph 3</li>
<li>The conclusion could be stronger by reinforcing your main points</li>
<li>Watch out for passive voice in several sentences</li>
</ul>
</div>
<div class="feedback-section">
<h3>Detailed Comments</h3>
<div class="teacher-comments">
<p>Your essay demonstrates a strong understanding of the prompt and presents a compelling narrative. The introduction effectively hooks the reader, and your personal experiences add authenticity to your arguments.</p>
<p>To strengthen your essay further, focus on:</p>
<ul>
<li>Developing your analysis in the third paragraph</li>
<li>Varying sentence structure for better flow</li>
<li>Adding transitions between some paragraphs</li>
</ul>
<p class="teacher-signature">- Professor Williams</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>