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 with Vanilla JS and CSS

@AaronFlores11

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 accept feedback for my code.

I had problems with the edges of the inputs but in the end I managed to make it look its best, thanks to the help of internet forums

Community feedback

MatDev 100

@CauquilM

Posted

Hey ^^ you have the same problem I had when I was coding my own solution, when you set the num of person to 0 after having changed it, the price and tip become NaN. I patched it in my code by denying the user the possibility of setting the Input number of person below 0.

Don't hesitate to like my solution ^^

Regards

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