@dtomicic
Posted
Hey, I don't know if you are done with this project or just posting for help but if you're done you might consider looking into why none of the buttons work (they don't calculate anything). But since I'm guessing you're still not done and you're just asking for help you can check out this link for the solution to your problem, it's simpler than what you've done, it checks on keyup if the character that was inserted has a length of 0 (meaning it's the first character) and then checks the ASCII code if it matches 48 (which is 0 in ASCII table).
Hope this helps a bit, design looks good you just miss the functionality and you'll be all set. Keep it up
@Pomz010
Posted
@dtomicic Hi! Thank you for you feedback. I'm not yet done with this project. Yeah, I'm actually looking for help on how to prevent zero as first character to be typed on input fields. Reset button and custom percentage are not yet working but tip computation are functioning. You can select percentage buttons using mouse click and alternatively navigate and select tip percentage button by pressing tab key and select by pressing space bar. After that, you can press enter on your keyboard to submit and compute for results.