A clean, responsive, and interactive Expense Tracker Web App built using HTML, CSS, and JavaScript.
This application helps users track income, expenses, categories, and spending patterns with a beautiful UI and a dynamic chart visualization.
- β Add Income & Expense transactions
- π·οΈ Categorize each transaction (Food, Travel, Shopping, Rent, etc.)
- π Filter by type and category
- π’ Auto-calculated Balance, Total Income, and Total Expense
- β Delete individual transactions
- π Reset All Data button with a custom modal confirmation
- πΎ All data saved automatically using localStorage
- π¨ Clean, modern, fully responsive UI
- Beautiful Doughnut Chart created using Chart.js
- Live update of category-wise spending
- Fully responsive design for:
- Mobile
- Tablet
- Desktop
- Professionally styled cards & animations
- Custom alert modal + toast notifications
| Technology | Purpose |
|---|---|
| HTML5 | Structure |
| CSS3 | Styling & Responsive UI |
| JavaScript (ES6) | Logic & Interactivity |
| Chart.js | Spending analytics chart |
| localStorage API | Auto-save user data |
A clean overview showing your balance, total income, total expenses, and the transaction input form.
![]()
Displays all income and expense entries with category, date, amount, and delete option.
![]()
A dynamic Chart.js doughnut chart that visualizes expenses across categories.
![]()
- Enter a title, amount, type (Income/Expense), category, and date.
- Click Add.
- The transaction instantly appears in the list.
- The app updates:
- π° Balance
- π Total Income
- π Total Expense
- Values change live with every transaction you add or delete.
- All transactions are saved using localStorage.
- π Data stays safe even after a page refresh.
- No backend required.
- Filter by:
- Income
- Expense
- Category
- The list updates instantly based on your selection.
- A Chart.js doughnut chart visualizes:
- Food
- Travel
- Rent
- Shopping
- General
- Others
- Chart updates automatically whenever you add or delete transactions.
- Click β on any entry.
- Summary cards and chart update immediately.
- Click Reset All Data β A custom confirmation modal appears.
- On Yes, everything is cleared:
- Transactions
- Summary
- Chart
- localStorage
- A toast message shows βData reset successfullyβ.