-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSps.html
61 lines (59 loc) · 2.12 KB
/
Sps.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>
<head>
<title>Stone, Paper and Scissors</title>
<link rel="stylesheet" href="style.css">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
</link>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,500&display=swap" rel="stylesheet">
<link rel="icon" href="brand-logo.png">
</link>
</head>
<body>
<div class="section">
<nav>
<a href="index.html"><img src="brand-logo.png" class="logo"></img></a>
</nav>
<h2>Let's Play!</h2>
<br>
<h2>Choose: </h2>
<div class="row choices">
<div class="col-sm-4">
<button onclick="play2()"><img src="2.png" class="2" alt=""></button>
<p>Stone</p>
</div>
<div class="col-sm-4">
<button onclick="play3()"><img src="3.png" class="3" alt=""></button>
<p>Paper</p>
</div>
<div class="col-sm-4">
<button onclick="play1()"><img src="1.png" class="1" alt=""></button>
<p>Scissors</p>
</div>
</div>
</row>
<div class="row results">
<div class="col-sm-6">
<img src="ban.png" class="result1" alt="">
<p>PLAYER 1</p>
</div>
<div class="col-sm-6">
<img src="ban.png" class="result2 col-md-6" alt="">
<p>CPU</p>
</div>
</div>
<div class="row points">
<h1 class="p1 col-sm-3 text center">0</h1>
<h1 class="win col-sm-6 text center"></h1>
<h1 class="comp col-sm-3 text center">0</h1>
</div>
<div class="refresh">
<button onclick="refresh()" class="btn btn-primary"><span class="glyphicon glyphicon-refresh"></span>Play Again</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>