@emestabillo
Posted
Hi @darryncodes, looks pretty good! I personally might try radios for the tips, but that's just my preference.
Here's a short article on how to deal with the leading zeros.
Two things I observed is that the grand total for each person is not taking the tip amount, and any bill that has less than $100 would result to NaN
. I haven't done this challenge so I don't know if that is intended behavior. There's an error on the console from the regex that might be causing it.
Hope this helps!
Marked as helpful
@darryncodes
Posted
Hi @emestabillo, thanks for taking the time to comment.
Radio's is an interesting call.
Thanks for the article link, that website looks excellent. However I still haven't managed to make it work with the code snippet š
I've fixed the NaN and console error, I had some random bits and pieces knocking about in the code that i left behind accidentally whilst testing stuff out!