My Quote

Customer’s First Name: Current Cell Phone Bill ($): Additional Services: Apple Music ($): Home Internet ($): Walmart+ ($): Disney Bundle ($): Netflix ($): HBO Max ($): Other ($): Calculate Total
Go to New Page
function calculateTotal() { const currentBill = parseFloat(document.getElementById(‘current-bill’).value) || 0; const appleMusic = parseFloat(document.getElementById(‘apple-music’).value) || 0; const homeInternet = parseFloat(document.getElementById(‘home-internet’).value) || 0; const walmartPlus = parseFloat(document.getElementById(‘walmart-plus’).value) || 0; const disneyBundle = parseFloat(document.getElementById(‘disney-bundle’).value) || 0; const netflix = parseFloat(document.getElementById(‘netflix’).value) || 0; const hboMax = parseFloat(document.getElementById(‘hbo-max’).value) || 0; const other = parseFloat(document.getElementById(‘other’).value) || 0; const total = currentBill + appleMusic + homeInternet + walmartPlus + disneyBundle + netflix + hboMax + other; document.getElementById(‘result’).innerHTML = `

Total: $${total.toFixed(2)}

`; }