The Stock Market Average Calculator is a simple web application designed to calculate the average price of stocks based on two separate purchases. It allows users to input the number of units and the price per share for each purchase, and then calculates the average price per share.
- Input fields for the size and price of shares for two purchases.
- Calculation of total units and average price.
- Input validation and error handling.
- Clear fields button to reset the form.
You can see a live demo of the application here: Live Demo
(Note: Replace this link with your actual live demo link)
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/hrushigawade4/stock-avg-calc-cc.git
- Go to the directory and in the terminal use
npm install
- to start locally
npm start