NeoFinance Expense Tracker is a modern, user-friendly web application designed to help you efficiently track your income and expenses. It offers detailed transaction management, a beautiful and responsive UI, and a dynamic monthly income & expense trend chart.
- Add, Edit, and Delete Transactions: Easily manage your income and expenses with intuitive forms and modals.
- Dynamic Categories: Categories update based on transaction type (income or expense).
- Transaction Filtering and Sorting: Sort transactions by date, amount, or category for better overview.
- LocalStorage Persistence: Transactions are saved in the browser for persistent data storage.
- Import and Export: Export transactions as JSON files or import from valid JSON backups.
- Income & Expense Trend Chart: Visualize your monthly income and expenses with a modern, interactive Chart.js bar chart (with tooltips and color-coded bars).
- Fully Responsive & Mobile-First: All panels, forms, lists, modals, calculator, and charts are fluid, touch-friendly, and usable on any screen size.
- Modern Theme-Only Buttons: All buttons use only theme colors with gradients and strong hover/active effects (no white/glassy styles).
- Footer Always Visible: Footer never obscures content; last transaction is always visible above the footer.
- Enhanced Modal UX: Edit and calculator modals close on overlay click or X button; Escape key also closes modals.
- Keyboard Accessibility: Use keyboard shortcuts like Escape to close modals and Enter to submit forms.
- Currency Formatting: Automatic locale-based currency formatting.
- Mock Cloud Backup: Simulated cloud backup every 5 minutes to prevent data loss.
-
Adding a Transaction:
- Fill in the date, type (income or expense), amount, category, and description.
- Click submit to add the transaction.
-
Editing a Transaction:
- Click the edit button next to a transaction.
- Modify the details in the modal that appears.
- Save changes or delete the transaction.
-
Importing Transactions:
- Use the file input to upload a
.jsonfile exported from the app. - The app merges valid transactions avoiding duplicates.
- Use the file input to upload a
-
Exporting Transactions:
- Click the export button to download all transactions as a
.jsonfile.
- Click the export button to download all transactions as a
-
Viewing Income & Expense Trend:
- Click the "View Income & Expense Trend" button to open a modal with a Chart.js bar chart of monthly income and expenses.
- Hover/tap bars for tooltips. Chart is fully responsive and color-coded.
-
Calculator:
- Use the built-in basic calculator for quick calculations. Opens in a modal, closes on overlay or X.
-
Keyboard Shortcuts:
- Press
Escapeto close modals. - Press
Enterto submit forms when focused inside form fields.
- Press
No installation needed — just open index.html in any modern browser.
- index.html — Main HTML structure and elements.
- styles.css — Modern, mobile-first styles including variables, layout, animations, and advanced responsiveness.
- script.js — JavaScript logic handling transactions, UI updates, validation, notifications, modal logic, calculator, and trend chart rendering.
- Uses CSS Custom Properties (
--chart-colors,--income-color,--expense-color, etc.) for theming and chart color management. - Utilizes LocalStorage for persistent transaction storage.
- Implements FileReader API for importing JSON files.
- Uses Blob API and download links for exporting data.
- Uses Chart.js v4 for the income & expense trend chart (all other chart code removed).
- All scientific/memory calculator and old chart code has been removed for simplicity and performance.
- Provides real-time input validation with visual feedback.
- Enhanced modal logic: modals close on overlay click, X button, or Escape key.
- Footer is always visible and never overlaps content, even on mobile.
- All buttons use only theme colors (no white/glassy styles).
- Trend Chart Not Displaying: Ensure you have at least one income or expense transaction for the selected year. The chart modal requires valid data to render.
- Footer Overlaps Content: If you see the footer covering the last transaction, try resizing the window or refreshing. The app adds extra padding to keep content visible.
- Calculator/Modal Won't Close: Click the overlay area or the X button, or press Escape. If issues persist, check for browser extensions interfering with modals.
- Data Not Saving: Make sure your browser allows LocalStorage. Private/incognito modes may restrict saving.
Feel free to fork the repository and submit pull requests with improvements or bug fixes.
MIT License — free to use and modify.
NeoFinance Development Team