Spaces:
Running
Running
Needs to start from $2000 - Follow Up Deployment
Browse files- index.html +4 -2
index.html
CHANGED
|
@@ -266,9 +266,9 @@
|
|
| 266 |
<div class="space-y-6">
|
| 267 |
<div>
|
| 268 |
<label for="income" class="block text-sm font-medium text-gray-700 mb-1">Monthly Income ($)</label>
|
| 269 |
-
<input type="range" id="income" min="
|
| 270 |
<div class="flex justify-between">
|
| 271 |
-
<span class="text-sm text-gray-500">$
|
| 272 |
<span class="text-sm text-gray-500">$50,000</span>
|
| 273 |
</div>
|
| 274 |
<div class="mt-1">
|
|
@@ -805,6 +805,8 @@
|
|
| 805 |
});
|
| 806 |
};
|
| 807 |
|
|
|
|
|
|
|
| 808 |
syncInputs('income', 'income-display');
|
| 809 |
syncInputs('housing', 'housing-display');
|
| 810 |
syncInputs('healthcare', 'healthcare-display');
|
|
|
|
| 266 |
<div class="space-y-6">
|
| 267 |
<div>
|
| 268 |
<label for="income" class="block text-sm font-medium text-gray-700 mb-1">Monthly Income ($)</label>
|
| 269 |
+
<input type="range" id="income" min="2000" max="50000" step="1000" value="15000" class="calculator-input mb-2">
|
| 270 |
<div class="flex justify-between">
|
| 271 |
+
<span class="text-sm text-gray-500">$2,000</span>
|
| 272 |
<span class="text-sm text-gray-500">$50,000</span>
|
| 273 |
</div>
|
| 274 |
<div class="mt-1">
|
|
|
|
| 805 |
});
|
| 806 |
};
|
| 807 |
|
| 808 |
+
// Set minimum value for income input
|
| 809 |
+
document.getElementById('income-display').min = 2000;
|
| 810 |
syncInputs('income', 'income-display');
|
| 811 |
syncInputs('housing', 'housing-display');
|
| 812 |
syncInputs('healthcare', 'healthcare-display');
|