Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions app/interactives/compounding-frequency-calculator/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default function CompoundInterestCalculator() {
{/* Input Fields */}
<section className="space-y-6 mb-10 w-full lg:w-1/2">
<div>
<label className="block text-sm font-medium text-foreground mb-2">Initial Amount</label>
<label className="block text-sm font-medium text-foreground mb-2">Initial amount</label>
<div className="relative">
<Input
type="number"
Expand All @@ -97,7 +97,7 @@ export default function CompoundInterestCalculator() {
</div>

<div>
<label className="block text-sm font-medium text-foreground mb-2">Annual Interest Rate</label>
<label className="block text-sm font-medium text-foreground mb-2">Annual interest rate</label>
<div className="relative">
<Input
type="number"
Expand All @@ -111,7 +111,7 @@ export default function CompoundInterestCalculator() {
</div>

<div>
<label className="block text-sm font-medium text-foreground mb-2">Time Period</label>
<label className="block text-sm font-medium text-foreground mb-2">Number of compounding periods</label>
<div className="relative">
<Input
type="number"
Expand All @@ -121,13 +121,10 @@ export default function CompoundInterestCalculator() {
min="0"
/>
</div>
<p className="mt-2 text-sm">
{formatNumber(totalPeriods)} compounding periods
</p>
</div>

<div>
<label className="block text-sm font-medium text-foreground mb-3">Compounding Period</label>
<label className="block text-sm font-medium text-foreground mb-3">Compounding frequency</label>
<div className="flex items-center gap-2">
<select
value={selectedCompounding}
Expand Down