Hi, im working on a simple score keeper app and there are a few things that are not working as intended.
Here is my code:
Whenever the “P1Span” and “P2Span” become equal to the value of the input field, the game does not end. I even tried using a double comparison operator but still nothing.
Pressing the reset button only resets the input field back to its default value of 5 but does not reset the scores to 0.
For some reason when changing the input value by clicking the arrows (fast), there is alot of lag and the change is not always reflected in the HTML.
If anyone has any input for any of these issues i would really appreciate it. Thank you!