-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
61 lines (61 loc) · 2.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rock Paper Scissors</title>
<link rel="shortcut icon" href="./media/favicon.ico" type="image/x-icon">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<div class="wrapper">
<!-- This div is used to have fixed 40vh height -->
<div class="fixed-top">
<div class="score-board">
<div class="logo">
<img src="./media/logo.svg" alt="title" class="responsive">
</div>
<div class="score-box">
<p>score</p>
<h1>0</h1>
</div>
</div>
</div>
<div class="hands">
<div class="hand paper" onclick="pickedHand('paper')">
<img src="./media/paper.png" alt="paper">
</div>
<div class="hand scissors" onclick="pickedHand('scissors')">
<img src="./media/scissors.png" alt="scissors">
</div>
<div class="hand rock" onclick="pickedHand('rock')">
<img src="./media/rock.png" alt="rock">
</div>
</div>
<div class="contest">
<div id="player-hand" class="selected-hand">
<p>YOU PICKED</p>
<div>
<img src="" alt="your choice" class="responsive">
</div>
</div>
<div id="play-again" onclick="home()" onmouseover="colorChange(true)" onmouseleave="colorChange(false)">
<p></p>
<div>play again</div>
</div>
<div id="bot-hand" class="selected-hand">
<p>bot picked</p>
<div>
<img src="./media/rock.png" alt="bot choice" class="responsive">
</div>
</div>
</div>
</div>
<h3>Screen size not in range!!!</h3>
<script src="./script.js"></script>
</body>
</html>