Skip to content

Latest commit

Β 

History

History
40 lines (29 loc) Β· 1.69 KB

File metadata and controls

40 lines (29 loc) Β· 1.69 KB

πŸ’° Expense Tracker

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.

Features

  • βž• 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.

Files

  • 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.

How to Use

  1. Open index.html in your browser (Chrome, Edge, or Firefox recommended).
  2. Enter a description and amount.
    • Use positive numbers for income (e.g., +5000).
    • Use negative numbers for expenses (e.g., -1200).
  3. Click Add Transaction to save it.
  4. View your total balance, income, and expense at a glance.
  5. Edit or delete transactions anytime β€” all changes are saved automatically.

Notes

  • 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!