forked from itscodenation/flw1-rps-20-21-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (42 loc) · 1.24 KB
/
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
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>RPS Game</title>
<!-- Link CSS here -->
<link type='text/css' rel='stylesheet' href='css/style.css' />
</head>
<body>
<!-- TASK 1: In the div below.
1. In a header tag, add a title.
2. In a paragraph tag, add instructions on how to play the game.
3. Add a RPS image.
4. Add input box and button .
5. Add divs to record User Choice and Computer Choice.
6. Add a div to record the Winner.
-->
<div class="row">
<h1>Rock Paper Scissors</h1>
<img src="http://www.coltnews.com/wp-content/uploads/2016/04/RPS.png">
<h3>Please Submit Your Choice Below</h3>
<div>
<input id="input">
<button id="shoot">Shoot!</button>
</div>
<div id="choices" class="row">
<div>
<h4>User Choice</h4>
<p id="userChoice"></p>
</div>
<div>
<h4>Computer Choice</h4>
<p id="computerChoice"></p>
</div>
</div>
<div id="result"></div>
</div>
<!-- Link JQuery here -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Link script.js here -->
<script src='js/script.js'></script>
</body>
</html>