-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (40 loc) · 1.37 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
<!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">
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css">
<title>Rock Paper</title>
</head>
<body>
<h1>Rock Paper Scissors</h1>
<h2 id="demo">Try your luck ! </h2>
<div class="container">
<div class="section">
<div class="info">
<h3>You :</h3><span id="playerScore">0</span>
</div>
<div class="show">
<i class="fas fa-hand-rock"></i>
</div>
</div>
<div class="section">
<div class="info">
<h3>Computer :</h3><span id="computerScore">0</span>
</div>
<div class="show computer">
<i class="fas fa-hand-scissors"></i>
</div>
</div>
</div>
<h2 style="color: rgb(233, 33, 19);" id="demo2">Choose One !</h2>
<div class="selection">
<button class="fas fa-hand-rock" id="rock"></button>
<button class="fas fa-hand-paper" id="paper"></button>
<button class="fas fa-hand-scissors" id="scissors"></button>
</div>
<script src="/index.js"></script>
</body>
</html>