| |
As shown in the example above, you have the option of using a rock, paper, or scissors.
It will then generate a random icon for both you and the computer.
If you win, your score will rise, and the same thing for the computer
1.index.html
Let's create an index.html file and add the following code to it:
2.style.css
Let's create a CSS file called style.css and add the following CSS code to it:
3.script.js
Make a JavaScript file called script.js and paste the following JavaScript code into it:
Comments
Post a Comment