forked from itscodenation/flw1-rps-20-21-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (49 loc) · 1.68 KB
/
index.html
File metadata and controls
56 lines (49 loc) · 1.68 KB
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
51
52
53
54
55
56
<!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="https://www.1999.co.jp/itbig15/10156081.jpg">
<h3>Please Submit Your Choice Below</h3>
<p>Select rock, paper, or scissors(or HINT: something that starts with the letter "g").</p>
<p>Whoever reaches 10 points first will be the overall winner. </p>
<marquee scrollamount="200">:D</marquee>
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS7Dkvx6gfWfShu5Use4SCsq3KK-ZuEHCJFt_M8ygmZNJOZkrKVdQ"
id="gunpic">
<div>
<input id="input">
<button id="shoot">Shoot!</button>
</div>
<div id="choices" class="row">
<div>
<h4 class="userTitle">User Choice</h4>
<p id="userChoice"></p>
<p id="userScore"></p>
</div>
<div>
<h4 class="computerTitle">Computer Choice</h4>
<p id="computerChoice"></p>
<p id="computerScore"></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>