-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
27 lines (25 loc) · 1.23 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
<!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">
<!-- Fontawesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- custom css -->
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
<title>RPS Game</title>
</head>
<body>
<div class="container-1">
<h1 id="rpsH">Rock-Paper-Scissor-Game</h1>
<div id="container-2">
<img id="rock" src="images/stone.png" alt="rock" onclick="rpsGame(this)" height=210rem width=210rem>
<img id="paper" src="images/paper.png" alt="paper" onclick="rpsGame(this)" height=210rem width=210rem>
<img id="scissor" src="images/scissor.png" alt="scissors" onclick="rpsGame(this)" height=200rem width=200rem>
</div>
<span class="reloadBtn" onclick="window.location.reload();" ><i class="fa-solid fa-rotate-right"></i> Reload</span>
</div>
</body>
</html>