Tip Calculator Using Vanilla JavaScript
Design comparison
Solution retrospective
Hi Everyone, I have completed my first Frontend Mentor Challenge - Tip Calculator App. I would be happy if you have a better suggestion on my solution.
Community feedback
- Account deleted
Hi,
Big up for completing your first Frontend Mentor challenge, it looks good.
I think the calculator works fine, and does what it is intended, but I do not think the
custom
option works. When you put in a value it doesn't recognize it.The
input box
moves the whole container when youhover
over it, I think it because it is trying to compensate for the extra 2px of the border, so I took2px
off the initial padding on.bill-input
when you hover over it;.upper-left .bill-input{ padding: 3px 13px}
and it works just fines by removing the jitter when you hover on the text input.
Keep coding.
Marked as helpful0@CHRISTIANGLENOGOPosted about 3 years ago@thulanigamtee Hi I'm glad for your feedback.
With regards to your feedback for the CUSTOM option it's actually working if you click any of the tip percentage button. I really thought that the application works that way, so after I check some other solutions the custom input should display the result automatically. Now I am working to fix that.
On the other hand, I try to do your suggestion on the Input Box but it still affect the whole container. I'm gonna try to find other way or if ever you have another suggestion please help me.
Thank You!
0
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