@millidavitti
Posted
Went through your code an saw this little change you could make. The code below can be written on one line, billValue.value = null; headCount.value = null; tipButtons.value = null; customTip.value = null;
The one linner code would be: billValue.value=headCount.value= tipButtons.value= customTip.value = null;
Marked as helpful