Skip to content

cs-fullstack-master/Frontend_Set_Events1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Frontend_Set_Events1

Count Button Clicks

Step 1

  1. Create an HTML page with the Score: 0 in large letters.
  2. Add a button to that HTML page.
  3. Create a javascript page that will add 1 to the number when the HTML button is pressed.

Step 2

  1. Include another button to input a different score for player 2
  2. Include a reset button to reset the scores of both players.

Challenge

  1. Once either player reaches 5, stop the game.
  2. Display YOU WIN PLAYER (1/2) when one of the players reaches 5 clicks.
  3. Clear everything when the user hits reset.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •