← AI
🎧
Mood-Based Playlist Recommender
Tell it your mood, it curates a playlist from a hardcoded song dataset tagged by vibe.
🟢 EasyDifficulty
2 hoursTime
Python, JavaScript, TypeScriptLanguages
What you're building
You're building a Spotify-style 'mood mix' recommender using a hardcoded dataset of songs tagged with moods like happy, chill, hype, and focus. Pick a mood (or even type a sentence describing your day) and it filters and ranks the dataset into an instant playlist. It's simple tag-filtering dressed up as a recommendation engine -- but that's genuinely how a lot of early playlist features worked.
What you'll unlock 🔓
You'll need
- Basic JavaScript
- Arrays and objects
- A browser
🗺️ Build roadmap
01 Build the mood-picker UI
→
02 Create a hardcoded song dataset with mood tags
→
03 Filter songs by selected mood
→
04 Add a free-text mood detector as a bonus input mode
→
05 Render the resulting playlist nicely
→
06 Add a shuffle/regenerate option
🔒
Log in to start building
Your first project is free -- create an account to unlock it.
Log in Sign up free