A simple and interactive Expense Tracker built using HTML, CSS, and modern JavaScript (ES Modules).
It helps users manage their daily income and expenses, view summaries, and store data locally β all without a backend.
- β Add new transactions β income or expense.
- βοΈ Edit transactions β update existing entries easily.
- β Delete transactions you no longer need.
- π΅ Live balance summary showing total, income, and expenses.
- πΎ Data persistence using
localStorage(no backend required). - π± Clean and responsive UI β works on both desktop and mobile.
index.htmlβ main structure and layout of the app.styles.cssβ styling, layout, and responsive design.index.mjsβ handles core functionality like adding, editing, deleting, and storing transactions.
- Open
index.htmlin your browser (Chrome, Edge, or Firefox recommended). - Enter a description and amount.
- Use positive numbers for income (e.g.,
+5000). - Use negative numbers for expenses (e.g.,
-1200).
- Use positive numbers for income (e.g.,
- Click Add Transaction to save it.
- View your total balance, income, and expense at a glance.
- Edit or delete transactions anytime β all changes are saved automatically.
- Data is stored locally in the browser using localStorage.
- The app automatically loads your saved data on refresh.
- Built entirely with vanilla JS, HTML, and CSS β no external libraries used.
- Great for beginners learning DOM manipulation, events, and localStorage.
β¨ Easily track where your money goes with the Expense Tracker!