diff --git a/js/script.js b/js/script.js index 3d770b9..8c39934 100644 --- a/js/script.js +++ b/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() + */ \ No newline at end of file