Duyen Nguyen• 950
@Duyen-codes
Submitted
I couldn't get JavaScript part working. I am really stuck. Please help! Thanks!
Looking to hire developers?
@auung
@Duyen-codes
Submitted
I couldn't get JavaScript part working. I am really stuck. Please help! Thanks!
@auung
Posted
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.
Marked as helpful