root@coding-prodigies:~#
← AI 🎭

Mood Ring: A Text Sentiment Analyzer

Type anything and watch it get scored happy, sad, or somewhere in between — no ML required.

🟢 EasyDifficulty
1.5-2.5 hoursTime
Python, JavaScript, TypeScriptLanguages

What you're building

You're building a tool that reads any text a user pastes in — a tweet, a review, a diary entry — and scores it as positive, negative, or neutral by checking every word against hardcoded lists of positive and negative words. It reacts live as they type, shows a mood meter that slides between angry-red and happy-green, and even handles tricky cases like 'not good' flipping the sentiment. It's honest, simple word-scoring — but the live meter and emoji reactions make it feel surprisingly perceptive.

What you'll unlock 🔓

Working with dictionaries/lookup objectsString tokenization (splitting text into words)Basic scoring algorithmsDynamic styling based on data (colors, emoji, meters)Handling edge cases (empty input, negation words)

You'll need

🗺️ Build roadmap

01 Build the input and result UI 02 Style the mood meter 03 Build the positive/negative word dictionaries 04 Write the tokenizing and scoring engine 05 Handle negation words like 'not' and 'never' 06 Connect scoring to the live UI 07 Add word-by-word highlighting
🔒

Log in to start building

Your first project is free -- create an account to unlock it.

Log in Sign up free

👀 If you liked this...