Add Learning Streak Counter + Motivational Messages
Is your feature request related to a problem or challenge?
💡 Proposed Feature
Implement a Learning Streak System that tracks how many consecutive days a user has been learning and displays a small motivational message based on their streak.
How it would work
1.A new function, for example:
const streak = calculateLearningStreak(userId);
displayStreakMotivation(streak);
2.Count the number of consecutive days the user was active. 3.Update the dashboard UI to show:
- Current streak (e.g., “🔥 5-day streak!”)
- A rotating motivational message (e.g., “Keep it up!”, “Consistency pays off!”, etc.)
🎯 Why This Feature Is Valuable
- Adds a fun gamification element that doesn’t exist in the project yet
- Encourages users to stay consistent
- Very beginner-friendly but still meaningful
- Expands the project with a lightweight enhancement that can grow into badges, achievements, etc.
📁 Files To Be Added/Updated
- New: streak.js
- Handles streak calculation
- Logic for storing last active date
- Generates motivational messages
- Update: dashboard.js
- Display streak indicator
- Show motivational message in the dashboard section
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Thank you for raising this issue!
We'll review it as soon as possible. We truly appreciate your contributions! ✨
Meanwhile make sure you've visited the README.md, CONTRIBUTING.md, and CODE_OF_CONDUCT.md before creating a PR for this. Also, please do NOT create a PR until this issue has been assigned to you. 😊
@DYHARDx please assign this issue to me ??