/console-finances

Assignment 4 to analyse financial records of a company

Primary LanguageJavaScript

console-finances

Assignment 4 of the Front-End Web Dev bootcamp to analyze financial records of a company



Logo

Financial Calculator

This is a mini application built in JavaScript to analyze financial records of a company.

Financial Calculator · GitHub repo ·

Table of Contents
  1. About The Project
  2. Development
  3. Deployed Project

About The Project

Project Goal

The goal of this project is practice basic JavaScript skills by building a financial console to analyze financial records of a company.

Project Specifications

The application should calculate the following:

  1. The total number of months included in the dataset.
  2. The net total amount of Profit/Losses over the entire period.
  3. The average of the **changes** in Profit/Losses over the entire period.
  4. The greatest increase in Profit/Losses (date and amount) over the entire period.
  5. The greatest decrease in Profit/Losses (date and amount) over the entire period.
  6. The final code should print the analysis to the console.

Sample Result

The resulting analysis should look similar to the following:

sample result

Built With

I used the following technologies when building this application:

(back to top)

Development

Overall the process was very enjoyable. Taking those couple of weeks of CS50x finally paid off as I was very comfortable with the logic. I still had to look up a couple of things (such as how to create an array from a array, or how to calculate min, max, average in JavaScript).

I also went an extra mile and used Intl.NumberFormat('en-US').format() to present the numbers in a more readable format.

(back to top)

Deployed project

The project is now live.

Deployed application

The deployed page looks like this:

Deployed page

Links to deployed project

You can find the financial calculator app and its corresponding code here:

(back to top)

Credit:

Attribution
  • Free financial Calculator Icon from Freepixel.