Page 398 - Web_Application_v2.0_C12_Fb
P. 398

Projects










              PROJECT 1

              A simple website developed using HTML, CSS, and JavaScript to create a Rock-Paper-Scissors game.

              Create three files named index.html, script.js, and styles.css in the same folder.
              Once created, click on index.html to open the game. You can choose any one of the three options: Rock,
              Paper, or Scissors.




























              The result will be displayed below the images.




























              Scroll down to see the option selected by the computer against yours.


                396   Touchpad Web Applications (Ver. 2.0)-XII
   393   394   395   396   397   398   399   400   401   402   403