@adambraimbridge/

rock-paper-scissors

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • lib
  • src
  • test
  • deleteme.html
  • test.html
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>Rock, Paper, Scissors</title>
	<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<form>
		<div id="userInterface_name">
			<label>
				<div id="callToAction_name"></div>
				<input type="text" name="name" />
				<button type="submit">Enter</button>
			</label>
		</div>
		<div id="userInterface_choice">
			<label>
				<div id="callToAction_choice"></div>
				<label><input name="choice" id="choice-rock" value="rock" type="radio">Rock</input></label><br />
				<label><input name="choice" id="choice-paper" value="paper" type="radio">Paper</input></label><br />
				<label><input name="choice" id="choice-scissors" value="scissors" type="radio">Scissors</input></label>
				<div><button type="submit">Enter</button></div>
			</label>
		</div>
	</form>
	
	<div id="output"></div>

	<div><a href="test.html">Tests</a></div>
	
	<script
	  src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
  	integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8="
  	crossorigin="anonymous"></script>
	<script src="src/game.js"></script>
	<script src="src/index.js"></script>
</body>
</html>
result
console