-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (79 loc) · 3.16 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<body>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300&family=Raleway&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="styles/style.css">
<title>Rock Paper Scissors</title>
</head>
<header>
<div class="logo">
<h3>ROCK - PAPER - SCISSORS</h3>
<p>ROUND: <span id="roundCounter"><u>1</u></span> / 5</p>
</div>
</header>
<main>
<div class="container">
<div></div>
<div class="computer-plays">
<div class="comp-icons">
<div class="rock">
<img src="images/rock.png" alt="rock">
</div>
<div class="paper">
<img src="images/paper.png" alt="paper">
</div>
<div class="scissors">
<img src="images/scissor.png" alt="scissors">
</div>
</div>
<div class="comp-info">
Computer
</div>
</div>
<div></div>
<div class="stats">
<p id="win-info">The game begins :) </p>
<h2> <span id="resultComp">0</span> - <span id="resultPlayer">0</span></h2>
<p id="potezi"></p>
</div>
<div></div>
<div class="player-plays">
<div class="player-icons">
<div class="rock" onclick="playerMove(1); computerMove(); potez()">
<img src="images/rock.png" alt="rock">
</div>
<div class="paper" onclick="playerMove(2); computerMove(); potez()">
<img src="images/paper.png" alt="paper">
</div>
<div class="scissors" onclick="playerMove(3); computerMove(); potez()">
<img src="images/scissor.png" alt="scissors">
</div>
</div>
<div class="player-info" id="playerName">
</div>
</div>
</div>
<div></div>
</main>
<!--div>
<button onclick="playerMove(1); computerMove(); potez()">ROCK</button>
<button onclick="playerMove(2); computerMove(); potez()">PAPER</button>
<button onclick="playerMove(3); computerMove(); potez()">SCISSORS</button>
</div-->
<div id="demo"></div>
<footer>
<div>
<a href="github.io/derva"><i class="fa fa-github" style="font-size: 42px;"></i></a>
</div>
<p>
© by derva | 2020 | Tuzla, Bosnia and Hercegovina
</p>
</footer>
<script src="scripts/script.js"></script>
</body>
</html>