adriannaderkacz / console-finances

This challenge leverages JavaScript to process financial records, calculating key metrics like total months, net Profit/Losses, and average changes, from array-based data with "Date" and "Profit/Losses" fields.

Home Page:https://adriannaderkacz.github.io/console-finances/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console Finances

Bootcamp: Module 4 Challenge

This challange and its JavaScript code is designed to analyse financial records provided in the form of arrays with two fields: Data and Profit/Losses. The script calculates various financial metrics, including the total number of months, net total amount of Profit/Losses, average changes in Profit/Losses over the entire period.

Table of Contents (Optional)

Installation

N/A

Analysis Results

The analysis results will be displayed in the console, providing key financial insights such as:

  • Total Months
  • Net Total Amount of Profit/Losses
  • Average Change in Profit/Losses
  • Greatest Increase in Profits/Losses (with date and amount)
  • Greatest Decrease in Profits/Losses (with date and amount)

Page

https://adriannaderkacz.github.io/console-finances/

page1 page2

Usage

  1. Copy the provided financial dataset to your JavaScript environment.
  2. Copy and paste the code into the same environment.
  3. Run the script to see the financial analysis printed to the console.

Credits

N/A

License

MIT License

Copyright (c) [2023] [AdriannaDerkacz]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

This challenge leverages JavaScript to process financial records, calculating key metrics like total months, net Profit/Losses, and average changes, from array-based data with "Date" and "Profit/Losses" fields.

https://adriannaderkacz.github.io/console-finances/

License:MIT License


Languages

Language:JavaScript 93.3%Language:HTML 6.7%