title: How can get totalBalanceAmount value from getSavingsInput() and put into (HERE)?
body: <p>How can get <strong>totalBalanceAmount</strong> value from <strong>getSavingsInput()</strong> that i can put into <strong>(HERE)</strong>?</p>
  <pre><code>function getSavingsInput() {
      let totalBalance = document.getElementById('balance')
      let totalBalanceAmount = parseFloat(totalBalance.value)
      return totalBalanceAmount;
  }
  
  document.getElementById('Savings').addEventListener('click',function() {
      let savingInput = getInput('savigns-input') // this is the another function
      let savingsInputAmount = parseFloat(savingInput)
      const savignsAmount = (HERE) % savingsInputAmount;
      const savedAmount =  document.getElementById('saved-amount')
      savedAmount.innerText = savignsAmount;
  })
  </code></pre>