GithubHelp home page GithubHelp logo

reimbursement-calculator's Introduction

Project Reimbursement Calculator

Overview

The Project Reimbursement Calculator is a simple, yet powerful tool designed to calculate reimbursements for various projects based on specific rules. Each project is defined by its duration and whether it takes place in a high-cost or low-cost city. The calculator distinguishes between travel days and full days to compute the total reimbursement amount accurately.

Features

  • Calculates reimbursements for multiple project sets
  • Distinguishes between high-cost and low-cost cities
  • Differentiates between travel days and full days
  • Provides a detailed breakdown of the daily reimbursement calculation
  • User-friendly web interface enhanced with Bootstrap for better visual appeal

How to Use

  1. Open the Application: Load the index.html file in a web browser.
  2. View Project Sets: Review the predefined project sets displayed on the page.
  3. Calculate Reimbursements: Click the "Calculate Reimbursements" button to see the detailed calculation for each project set.
  4. Review Results: The total reimbursement along with a detailed day-by-day breakdown for each project set will be displayed.

Technical Details

  • Languages Used: HTML, JavaScript (Vanilla)
  • External Libraries: Bootstrap (via CDN) for styling
  • Date Handling: Custom date parsing and manipulation to determine the type of each day (travel or full) within the project range

Project Structure

  • index.html: The main HTML file that hosts the UI.
  • reimbursement.js: JavaScript file containing all the logic for calculating reimbursements and displaying the project sets.
  • README.md: This file, explaining the project, its features, and how to use it.

Future Enhancements

  • Implement more robust date handling using libraries like date-fns or moment.js.
  • Add functionality to input custom project sets via the UI.
  • Introduce more interactive UI elements for a dynamic user experience.
  • Implement backend services for handling larger data sets and more complex calculations.

About

This project was created as part of a technical exercise to demonstrate coding proficiency, problem-solving skills, and the ability to deliver a functional and user-friendly application swiftly.

reimbursement-calculator's People

Contributors

sethatwood avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.