rashid01 commited on
Commit
dd5a0fa
·
verified ·
1 Parent(s): 8ec950e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -9
app.py CHANGED
@@ -145,15 +145,39 @@ def track_progress():
145
  st.subheader("Track Your Progress")
146
  st.write("Here's your detailed progress data:")
147
  st.markdown(f"""
148
- <div class="progress-container">
149
- <p><strong>Behavioral Questions Solved:</strong> {progress_data['questions_solved']['Behavioral']}</p>
150
- <p><strong>Technical Questions Solved:</strong> {progress_data['questions_solved']['Technical']}</p>
151
- <p><strong>Situational Questions Solved:</strong> {progress_data['questions_solved']['Situational']}</p>
152
- <p><strong>Case Study Questions Solved:</strong> {progress_data['questions_solved']['Case Study']}</p>
153
- <p><strong>Problem Solving Questions Solved:</strong> {progress_data['questions_solved']['Problem Solving']}</p>
154
- <p><strong>Mock Interviews Taken:</strong> {progress_data['mock_interviews_taken']}</p>
155
- <p><strong>Feedback Provided:</strong> {progress_data['feedback_provided']}</p>
156
- <p><strong>Tips Retrieved:</strong> {progress_data['tips_retrieved']}</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  </div>
158
  """, unsafe_allow_html=True)
159
 
 
145
  st.subheader("Track Your Progress")
146
  st.write("Here's your detailed progress data:")
147
  st.markdown(f"""
148
+ <div class="progress-container" style="display: flex; flex-direction: column; align-items: center;">
149
+ <div style="display: flex; align-items: center;">
150
+ <i class="fa fa-question-circle" style="font-size: 24px; color: #4CAF50; margin-right: 10px;"></i>
151
+ <p><strong>Behavioral Questions Solved:</strong> {progress_data['questions_solved']['Behavioral']}</p>
152
+ </div>
153
+ <div style="display: flex; align-items: center;">
154
+ <i class="fa fa-code" style="font-size: 24px; color: #2196F3; margin-right: 10px;"></i>
155
+ <p><strong>Technical Questions Solved:</strong> {progress_data['questions_solved']['Technical']}</p>
156
+ </div>
157
+ <div style="display: flex; align-items: center;">
158
+ <i class="fa fa-sitemap" style="font-size: 24px; color: #FF5722; margin-right: 10px;"></i>
159
+ <p><strong>Situational Questions Solved:</strong> {progress_data['questions_solved']['Situational']}</p>
160
+ </div>
161
+ <div style="display: flex; align-items: center;">
162
+ <i class="fa fa-briefcase" style="font-size: 24px; color: #9C27B0; margin-right: 10px;"></i>
163
+ <p><strong>Case Study Questions Solved:</strong> {progress_data['questions_solved']['Case Study']}</p>
164
+ </div>
165
+ <div style="display: flex; align-items: center;">
166
+ <i class="fa fa-lightbulb-o" style="font-size: 24px; color: #FFC107; margin-right: 10px;"></i>
167
+ <p><strong>Problem Solving Questions Solved:</strong> {progress_data['questions_solved']['Problem Solving']}</p>
168
+ </div>
169
+ <div style="display: flex; align-items: center;">
170
+ <i class="fa fa-video-camera" style="font-size: 24px; color: #4CAF50; margin-right: 10px;"></i>
171
+ <p><strong>Mock Interviews Taken:</strong> {progress_data['mock_interviews_taken']}</p>
172
+ </div>
173
+ <div style="display: flex; align-items: center;">
174
+ <i class="fa fa-comment-dots" style="font-size: 24px; color: #2196F3; margin-right: 10px;"></i>
175
+ <p><strong>Feedback Provided:</strong> {progress_data['feedback_provided']}</p>
176
+ </div>
177
+ <div style="display: flex; align-items: center;">
178
+ <i class="fa fa-lightbulb" style="font-size: 24px; color: #FF5722; margin-right: 10px;"></i>
179
+ <p><strong>Tips Retrieved:</strong> {progress_data['tips_retrieved']}</p>
180
+ </div>
181
  </div>
182
  """, unsafe_allow_html=True)
183