trishna456 / investment-calculator

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.

Home Page:https://investment-calculator-trishna.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://investment-calculator-trishna.netlify.app/


Languages

Language:JavaScript 74.6%Language:CSS 20.1%Language:HTML 5.3%