Submitted almost 2 years ago
Landing with Css grid, and cool logical app with JavaScript
@Abdugafor
Design comparison
SolutionDesign
Community feedback
- @Arun12MuralidharanPosted almost 2 years ago
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
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