@Skyz03
Posted
Hi Syafiqjos👋, Great work on completing the challenge ... I check the tip of no 1 as you said but the problem is not with input fields its the font ... the font style: Space Mono you are using has the same 1 style which appears to be cut ... But i Found another major issue in your calculator ... For instance 100 is total bill and tip % is 5% so the total should be $105 but yours appears 1005 (the no of people is 1 always). I have attached the screenshot link: https://i.imgur.com/2GX3mkO.png
Marked as helpful
@Skyz03
Hi Sky,
You're right haha, I realized after checking google fonts, that the font style is actually like that. I thought it's been cropped for some reason..
Also thank you so much for providing the explanation and screenshot about my errors. So I could tests and try to match it with your advice. After I checked, my calculation actually was right, it's become 1005 because of string concat (100 + '5'). I don't know which one cause that, but after I put Number parse it's worked as it should.
Thank you again for the feedback!