This website is a budget tracker that allows users to add and track their income and expenses. It is built using HTML, CSS, and JavaScript, and it uses local storage to store the data.
The budget tracker site has the following features:
-
πΈ Add Transaction: Users can add a transaction by entering a description and the amount. If the amount is negative, it is considered as an expense, otherwise, it is considered as income. The transaction is added to the history and the balance is updated accordingly.
-
π Transaction History: The site displays a history of every transaction, separated into income and expense columns. Users can also delete any transaction by clicking the delete button.
-
π Statistics: The site displays the current balance, total income, and total expenses in a statistics section.
To use the budget tracker site, follow these steps:
-
Clone the repository to your local machine or download the ZIP file.
-
Open the index.html file in your browser.
-
Enter your transaction details in the form fields and click the "Add" button.
-
Your transaction will be displayed in the history with the total income, total expenses, and balance updated accordingly.
-
To delete a transaction, click the delete icon next to the transaction in the history section.
- HTML
- CSS
- JavaScript
The budget tracker site uses local storage to store the data. This means that the data will be saved on the user's computer even if they close the browser or navigate away from the site. The data is stored as a JSON string in local storage, and it is parsed and displayed on the screen when the user returns to the site.
This site was created by Ayush Anand Tripathi
You can access the budget tracker site by clicking on the following link: https://budget-tracker-javascript.netlify.app/
Made with β€οΈ using HTML, CSS, and JavaScript.