Need Help with "Score Keeper" Project | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need Help with "Score Keeper" Project

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: https://codepen.io/Modestas/pen/LjPPVQ 1) 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. 2) Pressing the reset button only resets the input field back to its default value of 5 but does not reset the scores to 0. 3) 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!

24th Jul 2017, 1:13 PM
Modestas
Modestas - avatar
1 Answer
0
The link is wrong, could you fix it?^^ I have an error 404
5th Aug 2017, 10:44 AM
Apple