Landing with Css grid, and cool logical app with JavaScript

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Arun12Muralidharan
Hi Sir,
Great work on completing the challenge.
In input field (bill & number of person), you can give input type="number". Because by that we can restrict user from typing characters by mistake. Because of everykey press, the validation is performed. This will impact the performance in-case of big application.
Also, the inputs takes the negative values & displaying negative amount on tip's share & total share. You can avoid this by having the input field validation in script file (inputfield.value > 0).
Regards, Arun Muralidharan
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