Skip to content

safesploitOrg/dining-expense-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expense Tracker

Introduction

Expense Tracker is a simple, user-friendly web application designed to help individuals or small teams track and manage their expenses effectively. Built with HTML, CSS, and JavaScript, it features an intuitive interface for adding expenses, calculates service charges, and displays a summary of total expenses.

Features

  • Add Expenses: Easily input expense details including name, cost, item description, and service charge.
  • View Expenses: All entered expenses are displayed in a well-structured table.
  • Expense Summary: View total expenses before and after service charges.
  • Local Storage: Expenses are saved in the browser's local storage, ensuring data persistence even after page refreshes.
  • Data Expiry: Stored data expires after 24 hours for privacy and efficiency.
  • Mobile Responsive: Fully responsive design, optimized for mobile and desktop views.

Installation

No installation is required. You can clone the repository and open the index.html file in any modern web browser to start using the application.

git clone https://github.com/safesploit/dining-expense-calculator.git
cd dining-expense-calculator
chrome index.html

Usage

  1. Add an Expense:

    • Fill in the name, cost, description, and service charge for the expense.
    • Click the 'Add Expense' button.
  2. View Expenses:

    • The added expenses are listed in the table below the form.
  3. Check Totals:

    • Total expenses before and after applying service charges are displayed below the expenses table.

Technologies

  • HTML
  • CSS
  • JavaScript
  • Bootstrap 4.6.2

Issues and Discussions

Feel free to report any bugs or issues you find in the Issues section of this repository. For general discussions, questions, or ideas about improvement, you can use the Discussions page.

Contributing

Contributions to the Expense Tracker are welcome. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-branch-name.
  3. Make your changes and commit them: git commit -m 'Commit message'.
  4. Push to the original branch: git push origin feature-branch-name.
  5. Create the pull request.

Alternatively, see the GitHub documentation on creating a pull request.

License

This project is licensed under the MIT License.