Image By Mehdi Aoussiad.
The Project Demo
As you can see in the example above, you have the ability to choose between the rock, the paper, and the scissors. After that, it will generate a random icon for you and for the computer. If you win, your score will increase, and the same thing for the computer.
Let's Start with HTML
First, we will create a container that will take in two sections. One for the computer, and the other for the player. Each section will contain the score and the icon. Under that container, we will put the rock, the paper, and the scissor buttons. Let's have a look at the example below:
Let's Style Our Elements
So now, we will style our elements using CSS. You can read the code below to see our stylesheet.