This is a simple Mortgage Calculator built with React.js that helps users calculate their monthly repayments based on mortgage amount, interest rate, and term length. The app also provides different repayment options, such as Repayment and Interest Only.
- Mortgage Amount: Input the loan amount for which you want to calculate the repayment.
- Mortgage Term: Specify the mortgage term in years.
- Interest Rate: Input the interest rate as a percentage.
- Repayment Options:
- Repayment: Monthly repayment includes both interest and principal.
- Interest Only: Monthly repayment includes only interest, and the principal must be repaid at the end of the term.
- Error Handling: Displays error messages for missing or invalid input fields.
- Dynamic Results: Displays calculated monthly repayment and total repayment based on the selected options.
- React.js: The primary library used for building the user interface.
- Vite: Used as the development server and build tool.
- TailwindCSS: For styling the components.