/console-finances

Primary LanguageJavaScriptMIT LicenseMIT

Console Finances

Description

This repository holds the source file for a project that analyses the financial records of a company. I was provided with a dataset composed of an arrays with two fields, Date and Profit/Losses. My task was to write a JavaScript code that analyzes the records to calculate and print to console:

  • The total number of months in the dataset
  • The net total amount of Profit/Losses over the entire period
  • The average of the changes in Profit/Losses over the entire period
  • The greatest increase in profits over the entire period
  • The greatest decrease in losses over the entire period

Technologies Used

  • HTML
  • JavaScript

Live Application

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

Screenshot

Screenshot

Credits

https://www.elated.com/nested-arrays-in-javascript/

Licence

Please refer to the LICENCE in the repository