@Duyen-codesSubmitted almost 3 years ago
I couldn't get JavaScript part working. I am really stuck. Please help! Thanks!
I couldn't get JavaScript part working. I am really stuck. Please help! Thanks!
The first problem I see is the page refreshing whenever I select a tip button. That is caused by putting button tags inside form tag. It can easily be solved by putting type="button" into each button tag. Or by not using the form tag at all to wrap the buttons.