Submitted over 3 years agoA solution to the Tip calculator app challenge
Tip Calculator page using HTML, CSS and JavaScript
@AnshdeepSKaps

Solution retrospective
I am a beginner and had some difficulties:-
-
If, for instance, the custom value is the same as one of the existing boxes, and then I try to select some other percentage box is selected, some weird behaviour is seen. This happens due to my implementation of which box to 'unselect' when a new one is selected, and the custom box kinda messes it up. Sorry if this wasn't clear xD
-
The input for number of people stays red if the red activates once, and then the reset button is pushed.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Anshdeep Kapula's solution.
Join 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