Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Your session has expired please log in again.
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive Tip Calculator with vanilla JS

Haminimuri 200

@Kiranchai

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


Hey coders!

I've had some problems with calculating the price whenever someone changes the input. I used 'onfocusout' event listener, but you have to leave the input to update the price. How would you do it to change the price immediately? Would be glad to receive any feedback from you! Thanks in advance :)

Community feedback

John Mirage 1,610

@john-mirage

Posted

Hello,

The event type you looking for is this one.

Marked as helpful

0

Haminimuri 200

@Kiranchai

Posted

@john-mirage Thank you!

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