Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Tip calculator app using Grid

@Duyen-codes

Desktop design screenshot for the Tip calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I couldn't get JavaScript part working. I am really stuck. Please help! Thanks!

Community feedback

auung 150

@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

0

@Duyen-codes

Posted

@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 GitHub
Discord logo

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