$w.onReady(function () { // Initialize slider values and event listeners updateLoanAmountText(); updateInterestRateText(); updateLoanTermText(); $w("#loanAmountSlider").onChange(() => { updateLoanAmountText(); }); $w("#interestRateSlider").onChange(() => { updateInterestRateText(); }); $w("#loanTermSlider").onChange(() => { updateLoanTermText(); }); $w("#calculateButton").onClick(() => { calculateMonthlyPayment(); }); }); function updateLoanAmountText() { const loanAmount = $w("#loanAmountSlider").value; $w("#loanAmountText").text = `$${loanAmount.toLocaleString()}`; } function updateInterestRateText() { const interestRate = $w("#interestRateSlider").value; $w("#interestRateText").text = `${interestRate.toFixed(2)}%`; } function updateLoanTermText() { const loanTerm = $w("#loanTermSlider").value; $w("#loanTermText").text = `${loanTerm} years`; } function calculateMonthlyPayment() { const loanAmount = $w("#loanAmountSlider").value; const annualInterestRate = $w("#interestRateSlider").value; const loanTermYears = $w("#loanTermSlider").value; const monthlyInterestRate = (annualInterestRate / 100) / 12; const numberOfPayments = loanTermYears * 12; // Mortgage calculation formula const monthlyPayment = (loanAmount * monthlyInterestRate) / (1 - Math.pow(1 + monthlyInterestRate, -numberOfPayments)); $w("#monthlyPaymentText").text = `Monthly Payment: $${monthlyPayment.toFixed(2)}`; }
top of page

Contact Us

With abode, Communication Is What We Do

We ensure all calls are answered, even if we are busy, which ensures your voice is always heard.

We are available to our clients throughout the day Monday to Saturday and in the evenings any day via Whatsapp text.

Our phone lines are answered 24/7/365 by our dedicated secretary team, even if we are not available so you will never go to voicemail on our office number, never get an engaged tone and never get put on hold.

Get In Touch With Us:

Abode Head Office - 01865 294652

115a Cumnor Hill, Oxford, OX2 9JA

 

Oliver-Tristan Barker - 07310941307

otb@abodespires.co.uk

Celia Berry - 07951261168

cb@abodespires.co.uk

Contact Us

Thanks for submitting!

bottom of page