function calculateBudget() {
const income = parseFloat(document.getElementById(“income”).value);
const housing = parseFloat(document.getElementById(“housing-expenses”).value);
const food = parseFloat(document.getElementById(“food-expenses”).value);
const transportation = parseFloat(document.getElementById(“transportation-expenses”).value);
const other = parseFloat(document.getElementById(“other-expenses”).value);
if (isNaN(income) || isNaN(housing) || isNaN(food) || isNaN(transportation) || isNaN(other) || income el.value = “”);
}