mirror of
https://github.com/gabehf/BudgetBuddy.git
synced 2026-03-08 23:18:15 -07:00
Update LoanCalculator.js
This commit is contained in:
parent
59309524ee
commit
461b05f1b6
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ const LoanCalculator = () => {
|
|||
<FormInputGroup text="Interest Rate %" placeholder="" value={interestRate} onInput={(event) => setInterestRate(event.target.value)}/>
|
||||
<FormInputGroup text="Loan Duration in Years" placeholder="" value={loanDuration} onInput={(event) => setLoanDuration(event.target.value)}/>
|
||||
|
||||
<h4 className="alert alert-info fw-bold">
|
||||
<h4 className="mt-4 alert alert-info fw-bold">
|
||||
Monthly Payment: ${monthlyPayment.toFixed(2)}
|
||||
<h5 className="mt-4">Principal Paid: ${loanAmount}</h5>
|
||||
<h5>Interest Paid: ${interestPaid.toFixed(2)}</h5>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue