Last active
December 15, 2015 02:39
-
-
Save NicholasMurray/5188775 to your computer and use it in GitHub Desktop.
RockPaperScissorsHTMLInputAndOutput
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
<span>The human has chosen:</span><br /><br /> | |
<input type="radio" name="human-choice" value="rock">Rock<br /> | |
<input type="radio" name="human-choice" value="paper">Paper<br /> | |
<input type="radio" name="human-choice" value="scissors">Scissors<br /><br /> | |
<input type="button" id="play-game" value="Play" /><br /><br /> | |
</p> | |
<p> | |
The computer has chosen: <i><span id="computer-choice"></span></i> | |
</p> | |
<p> | |
<br /><br /> | |
And the winner is: <span id="winner"></span> | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment