Question: Using Javascrip and HTML start implementing the rock-paper-scissors game by displaying three buttons with images of the hand signs. When you click on each button,
Using Javascrip and HTML start implementing the rock-paper-scissors game by displaying three buttons with images of the hand signs. When you click on each button, it must display your selection on the console log. Fig. 1 shows a web page that illustrates this behavior. As part of this first partial solution, you must implement the Cascade Style Sheet required to display the buttons and their images adequately formatted. All three button HTML elements must execute the function play included in your JavaScript file. The function play receives the buttons name the user clicked on as an argument.

Finish buttons.html and function play(clickedButton) {
You start implementing the rock-paper-scissors game by displaying three buttons with images of the hand signs. When you click on each button, it must display your selection on the console log. Fig. 1 shows a web page that illustrates this behavior. Rock-Paper-Scissors Game Click on any hand sign to play Inspect the console for output. Fig. 1. Behavior of the web page buttons.html after clicking the paper button. As part of this first partial solution, you must implement the Cascade Style Sheet required to display the buttons and their images adequately formatted. All three button HTML elements must execute the function play included in your JavaScript file. The function play receives the button's name the user clicked on as an argument. You will find the three hand-sign images on Canvas->Files->Projects->project-2->images. 1234567891011functionplay(clikedButton){}//donoteditorremovethefollowinglines,theyarerequiredtoperformtheunitteststry{module.exports.play=play;}catch(err){console.log(""rps-b.jsfunctionsloaded")}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
