Hello, I hope my tips help you.
- No processing errors if 0 people
- If there are 0 people, then in tip NaN
- When you hover the mouse over the input, the layout moves. Try setting transparent borders by default
- It's good to write JS in a separate file
- var - considered an obsolete way to declare a variable. Use let and const
- Adding inline style is considered not a very good practice
0