-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (57 loc) · 2.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="./css/style.css" rel="stylesheet" />
<title>Rock Paper Scissors</title>
</head>
<body>
<container>
<div class="row">
<div class="col-10 bg-white p-4 mx-auto mt-4">
<h3>SUDDEN DEATH!!!</h3>
<div class="row">
<div class="col-3 bg-white shadow-sm p-4 mx-auto mt-4 border">
<div id="textArea">
<p>Players choice: </p>
<div id="iconArea"></div>
</div>
</div>
<div class="col-4 bg-white shadow-sm p-4 mx-auto mt-4 border">
<div id="ResultTextArea">
</div>
</div>
<div class="col-3 bg-white shadow-sm p-4 mx-auto mt-4 border">
<div id="computerTextArea">
<p>Computers choice: </p>
<div id="computerIconArea"></div>
</div>
</div>
</div>
<div id="buttons" class="d-flex justify-content-center">
<div class="btn-group" role="group" aria-label="PlayerChoice">
<button id="rockBtn" type="button" class="btn btn-lg btn-info"><i
class="fas fa-hand-rock fa-2x"></i></button>
<button id="paperBtn" type="button" class="btn btn-lg btn-info"><i
class="fas fa-hand-paper fa-2x"></i></button>
<button id="scissorsBtn" type="button" class="btn btn-lg btn-info"><i
class="fas fa-hand-scissors fa-2x"></i></button>
</div>
<div class="btn-group" role="group" aria-label="ComputerChoice">
<button id="ComputerBtn" type="button" class="btn btn-lg btn-dark">Fight!</button>
</div>
<div class="btn-group" role="group" aria-label="Reset">
<button id="resetBtn" type="button" class="btn btn-lg btn-warning">Reset</button>
</div>
</div>
</div>
</div>
</container>
<script src="https://kit.fontawesome.com/8b46b7ff65.js"></script>
<script src="main.js"></script>
</body>
</html>