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 CSS FLEXBOX & JAVASCRIPT

@Sunilprasadk

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


Leave your valuable comments & suggestions!

Community feedback

Account Deleted

Nice one on completing the challenge but there's a few misses with the functionality;

  • The error message gets thrown even if on the input there isn't zero.
  • You must also call the function that handles the tip/person & total/person when I click on any tip button to make the functionality a bit easier.
  • & also call it if only all of the inputs are not empty other wise you'll get infinity or NaN, like how it's happening right now.

Marked as helpful

1

@Sunilprasadk

Posted

@thulanigamtee Thanks for your valuable feedback! I will look into the issues.

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