Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
clarity
  • Loading branch information
bpd01001 committed Feb 19, 2020
1 parent fa54b86 commit e339020
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/script.js
Expand Up @@ -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){

Expand All @@ -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.