forked from atishay95/Rock-Paper-Scissors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (44 loc) · 1.15 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
<!DOCTYPE html>
<html>
<head>
<title>Rock Paper Scissors Lizard Spock Game</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>Welcome to Rock Paper Scissors Lizard Spock!</h1>
<div class="container">
<h2>Choose your warrior :
<br><br>
<!-- <button> --><!-- onclick="document.getElementById('user').src='img/rock.jpg'" -->
<img id="rock" src="img/rock.jpg">
<!-- </button>
<button> -->
<img id="paper" src="img/paper.jpg">
<!-- </button>
<button> -->
<img id="scissors" src="img/scissors.jpg">
<!-- </button> -->
<img id="lizard" src="img/liz.png">
<!-- </button> -->
<img id="spock" src="img/spock.png">
<!-- </button> -->
</h2>
</div>
<div class="row" id="score">
<div class="column">
<h4>Player 1</h4>
<div id="count1">
0
</div>
</div>
<div class="column">
<h4>Computer</h4>
<div id="count2">
0
</div>
</div>
</div>
<footer><h3>All Credits to Dr. Sheldon Cooper</h3></footer>
<script type="text/javascript" src="script.js"></script>
</body>
</html>