A simple, responsive, and feature-rich expense tracking web application built with HTML, CSS, and JavaScript.
Flow of Funds is a lightweight, user-friendly expense tracker designed to help you manage your daily and monthly spending. Whether you're budgeting for groceries, travel, or bills, this app provides a clean interface to log, edit, and analyze your expenses. With features like daily spending limits, monthly history, and a responsive design, it’s perfect for personal finance management on any device.
- Add expenses with name, amount, category, and date.
- Edit or delete individual expenses with ease.
- Delete all expenses manually with a single button.
- Predefined options: Food, Travel, Shopping, Bills, Entertainment, Other.
- Highlights days in red if total spending exceeds ₹60; otherwise, normal color.
- Tracks total monthly spending in Indian Rupees (₹).
- Shows the category with the highest spending.
- Resets expenses automatically on the last day of the month and stores the monthly total.
- Sort expenses by date, category, or amount (ascending/descending).
- Saves expenses and monthly history using localStorage for persistence across sessions.
- Adapts seamlessly to desktop, tablet, and mobile screens.
- Toggle between light and dark themes with smooth transitions.
- Powered by GSAP for subtle, engaging load and update animations.
- HTML5: Structure and layout.
- CSS3: Styling with custom properties (
--vars), media queries, and transitions. - JavaScript: Core logic, DOM manipulation, and local storage.
- GSAP: Smooth animations for enhanced user experience.
- Fonts: Poppins (headings) and Inter (body) via Google Fonts.
Clone the repository:
git clone https://github.com/Subhamsidhanta/flow-of-funds.gitOr download the ZIP file and extract it.
cd flow-of-fundsOpen index.html in a web browser directly, or:
Use a local server (recommended for best performance):
npx live-server(Requires Node.js and npm installed.)
- No manual installation required! The project uses a CDN for GSAP:
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
- Fill in the expense name, amount, category, and date in the "Add Expense" form.
- Click "Add Expense" to log it.
- Check the "Daily Spending" list to see totals per day.
- Days exceeding ₹60 are highlighted in red.
- Edit or delete individual expenses from the "All Expenses" list.
- Use the "Delete All Expenses" button to clear all current expenses.
- Select a filter type (date, category, amount) and sort ascending or descending.
- Click "Dark Mode" / "Light Mode" to switch themes.
- On the last day of the month, expenses reset automatically, and the total is saved to history (viewable in localStorage).
flow-of-funds/
├── index.html # Main HTML file
├── styles.css # Stylesheet with responsive design
├── script.js # JavaScript logic and functionality
└── README.md # Project documentation
| Light Mode | Dark Mode |
|---|---|
(Replace placeholder links with actual screenshots by hosting images on a service like GitHub or Imgur.)
- Data Storage: Expenses and monthly history are stored in localStorage as JSON.
- Daily Limits: JavaScript calculates daily totals and applies the over-limit class for days > ₹60.
- Monthly Reset: Checks the date on load; if it’s the last day, saves the total and resets expenses.
- Responsiveness: CSS uses
clamp(), flexbox, and media queries to adapt to screen sizes. - Animations: GSAP handles entrance animations for a polished feel.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit:
git commit -m "Add your feature" - Push to your branch:
git push origin feature/your-feature
- Open a pull request with a detailed description.
- Display monthly spending history in the UI.
- Add export/import functionality for expenses.
- Implement real-time notifications for spending limits.
- Support multiple currencies beyond ₹.
This project is licensed under the MIT License. Feel free to use, modify, and distribute it as you see fit!
- GSAP: For awesome animation capabilities.
- Google Fonts: For beautiful typography.
- You: For using and supporting this project!
Built with 💻 and ☕ by Your Name on March 14, 2025.