@PacoNavarrete
Posted
Hi @Keilay, It's a very nice work that have done here, regarding about you question:
I can see that you're triggering the calculateBill() and calculateTip() into three sections but none of them validate that they've receive all the data prior to make the calculus, seems like when any of the previous functions are called you got undefined values between 34-37 lines, and between 60-62 lines, (undefined * number = NaN )
Try to manage the state of each input, and use it to validate that user enter all the fields prior to perform the calculus.
Sounds interesting! I will pull your code from github and try to solve it, and let you know the code.
@kileybelanga
Posted
@PacoNavarrete Thank you for the feedback! I will look into your suggestion!
@PacoNavarrete
Posted
Hi @kileybelanga You can see now my pull request on github, if you want to check out what is a pull request, you can read this article of freecode camp, basically is a nice way to contribute with other repositories. (https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/).