A React application for simulating long-term investment growth.
Users can adjust parameters such as initial investment, annual investment, expected annual return, and duration to see how their investments would grow over time.
- Calculate yearly investment growth with compound interest
- User-configurable inputs:
- Initial Investment
- Annual Investment
- Expected Annual Return (percentage)
- Duration (years)
- Dynamic results table displaying:
- Year
- Investment Value
- Interest earned per year
- Total accumulated interest
- Total invested capital
- Modern, responsive user interface
- React (with Vite)
- JavaScript (ES6+)
- CSS3
- Intl API (for currency formatting)
- Node.js (v16 or higher recommended)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/your-username/react-investment-calculator.git
cd react-investment-calculator- Install dependencies:
npm install- Start the development server:
npm run dev- Open the application in your browser: http://localhost:5173