Skip to content

This is an investment calculator app built using React where users can input their initial investment value, annual investment, expected return, and duration in years. The app allows users to modify one or multiple parameters and provides the calculated investment value, interest year-wise, total interest, and the investor's capital.

Notifications You must be signed in to change notification settings

trishna456/investment-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Investment Calculator App

This is an investment calculator app built using React where users can input their initial investment value, annual investment, expected return, and duration in years. The app allows users to modify one or multiple parameters and provides the calculated investment value, interest year-wise, total interest, and the investor's capital.

Features

  • Input fields for initial investment, annual investment, expected return, and duration
  • Dynamic calculations based on user inputs
  • Year-wise breakdown of investment growth
  • Total interest and investor capital calculation
  • User-friendly interface with real-time updates

Key Concepts Implemented

  • Component-Based Architecture: Header and user input components for modular design
  • Event Handling & Two-Way Binding: Efficiently handling user inputs and updates
  • State Management: Lifting state up for centralized state control
  • Data Computation: Properly handling and computing numerical values
  • Conditional Rendering: Outputting results based on user input

Technologies Used

  • React.js
  • CSS for styling

Getting Started

To run this project locally, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/trishna456/investment-calculator.git
  1. Navigate to the project directory:
cd investment-calculator
  1. Install dependencies using npm or yarn:
npm install
# or
yarn install
  1. Start the development server:
npm start
# or
yarn start
  1. Open your web browser and navigate to http://localhost:3000 to view the project.

About

This is an investment calculator app built using React where users can input their initial investment value, annual investment, expected return, and duration in years. The app allows users to modify one or multiple parameters and provides the calculated investment value, interest year-wise, total interest, and the investor's capital.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published