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 using HTML, CSS and Javascript

@Offiongwhilley

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 found the input event for the custom input element very challenging to maneuver. Any advice on best practices will be appreciated.

Community feedback

Elisa 50

@elisa-charrier

Posted

Hi! I did this challenge too.

Here's how I handled custom button:

  1. in html set an <input type="button" value="Custom" ...>
  2. on user's click, changed the type to number and emptied the value.

Go check out my solution if you like to.

0

@Offiongwhilley

Posted

@elisa-charrier I sure will. 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