Design comparison
SolutionDesign
Solution retrospective
- How can I clean up my javascript code? I feel like I was very repetitive and some things weren't as necessary like stating variables again like numPeopleValue and billAmountValue within my custom() functions and button.eventlistener function
-Also how can I make it so that the image doesn't look cropped?
Community feedback
- @ChamuMutezvaPosted over 3 years ago
Well done
- nice work with the error message, find ways that it will disappear as soon as correct data has been entered.
- so if i have a bill of
-200
and the number of people as-1
, each person has to pay a tip of$20
and a massive total of$220
at a tip rate of 10 percent
Marked as helpful1 - @afrusselPosted over 3 years ago
Hi, nice work.
2
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