Design comparison
SolutionDesign
Solution retrospective
I couldn't get JavaScript part working. I am really stuck. Please help! Thanks!
Community feedback
- @auungPosted almost 3 years ago
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 helpful0@Duyen-codesPosted almost 3 years ago@auung Thank you very much! I have changed form tag to section tag to wrap the buttons
0
Please log in to post a comment
Log in with GitHubJoin 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