@AbdugaforSubmitted almost 2 years ago
Arun Muralidharan
@Arun12MuralidharanAll comments
- @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