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

@SoulRvr29

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 had a problem with state update in result, I'm not sure if I did it the right way. When changing the inputs, the result is wrong, it is correct after choosing the percentages.

Community feedback

@FynnSchneider05

Posted

Hi, your project looks amazing.

I don't know how exactly react works but I had the same problem while only using html and js. I added a function that calculates the results and updates the UI. I added a 'blur' eventListener to the inputs which called this function everytime I exited the inputs.

Hope I could help. Lg Fynn

Marked as helpful

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