-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (64 loc) · 2.31 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/styles.css" />
<link rel="icon" href="assets/Logo_1.png">
<meta charset="UTF-8" />
<meta="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Barlow:wght@600&display=swap" rel="stylesheet">
<title>Stone Paper Scissors</title>
</head>
<body>
<video id="background-video" autoplay loop muted poster='assets/background_1.mp4'>
<source src='assets/background_1.mp4' type="video/mp4">
</video>
<div class="wrapper">
<div class="scoreboard">
<div class="logo">
<img src='assets/Logo_1.png' />
</div>
<div class="title">
<img src='assets/Title_3.png' />
</div>
<div class="score">
<p>SCORE</p>
<h1> 0 </h1>
</div>
</div>
<div class="hands">
<div class="hand paper">
<img src="assets/Paper_1.png" onclick="pickUserHand('paper')" />
</div>
<div class="hand scissors">
<img src="assets/Scissors_1.png" onclick="pickUserHand('scissors')" />
</div>
<div class="hand rock">
<img src="assets/Stone_1.png" onclick="pickUserHand('rock')" />
</div>
</div>
<div class="contest">
<div class="userhand">
<h1>YOU PICKED</h1>
<div class="handImageContainer">
<img id="userPickImage" src="assets/Paper_1.png">
</div>
</div>
<div class="referee">
<div class="decision">
<h1> YOU WIN! </h1>
</div>
<div class="newGame" onclick="restartGame()">PLAY AGAIN</div>
</div>
<div class="computerhand">
<h1>THE OPPONENT PICKED</h1>
<div class="handImageContainer">
<img id="computerPickImage" src='assets/Paper_1.png' />
</div>
</div>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>