Design comparison
Solution retrospective
Can someone explain what does mean total per person? Is it total value of all tips or something else?
Community feedback
- @hafizanadliPosted over 3 years ago
Total per person is the amount of bill plus tips and divide it by number of people.
For example total bill is $100 and you choose 10% tips (so the tip is $10). The total amount that should be paid will be the total bill plus the tips ($100 + $10 = $110).
If the number of people is 2, total amount that should be paid per person (total per person) will be ($110 / 2 = $55)
Marked as helpful2@SquirrelloDevPosted over 3 years ago@hafizanadli Thanks for explaining this! It was the most confusing part of it.
0 - @ccreusatPosted over 3 years ago
Nice work !
- I would check if bill, tip and number of people values are known before displaying amount and total. It can lead to error like "infinity, nan".
- Seems like reset button is not working? :)
0@SquirrelloDevPosted over 3 years ago@ccreusat It's not finished because it's still in development. I've had the issue as i've written above and i was looking for explanation of my problem. It's going to be updated soon
1
Please log in to post a comment
Log in with GitHubJoin 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