Skip to content
Permalink
Browse files

clarity

  • Loading branch information
bpd01001 committed Feb 19, 2020
1 parent fa54b86 commit e339020efde2b58e4fb656ad709608dc701760da
Showing with 5 additions and 2 deletions.
  1. +5 −2 js/script.js
@@ -26,8 +26,6 @@ let totalOutput = document.querySelector(".totalOutput");
/**
* This function is run every time an input is changed
* by a user.
*
* @todo Write functions for calculateTipPerPerson() and calculateTotalPerPerson()
*/
function updateValues(event){

@@ -40,3 +38,8 @@ function updateValues(event){
tipOutput.innerText = calculateTipPerPerson(totalValue, tipValue, peopleValue);
totalOutput.innerText = calculateTotalPerPerson(totalValue, tipValue, peopleValue);
}

/**
* Your code goes down here ...
* @todo Write functions for calculateTipPerPerson() and calculateTotalPerPerson()
*/

0 comments on commit e339020

Please sign in to comment.
You can’t perform that action at this time.