Submitted over 2 years ago
Tip calculator app with flexbox and vanilla js
@moheb2000
Design comparison
SolutionDesign
Solution retrospective
Hey. I don't know js enough so I think my code is not completely efficient.
Community feedback
- @Kl3vaPosted over 2 years ago
You calculation for the total/person is incorrect. You might want to work on that
Marked as helpful0@moheb2000Posted over 2 years ago@Kl3va Do I need to subtract tip from bill and then divide it to people numbers?
0@Kl3vaPosted over 2 years ago@moheb2000 Simply do ( bill / number of people) + the value of tip amount/person.
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