- Create an HTML page with the
Score: 0in large letters. - Add a button to that HTML page.
- Create a javascript page that will add 1 to the number when the HTML button is pressed.
- Include another button to input a different score for player 2
- Include a reset button to reset the scores of both players.
- Once either player reaches 5, stop the game.
- Display
YOU WIN PLAYER (1/2)when one of the players reaches 5 clicks. - Clear everything when the user hits reset.