Tip calculator app using Grid

Solution retrospective
I couldn't get JavaScript part working. I am really stuck. Please help! Thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @auung
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
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord