-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (32 loc) · 1.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Trirong|Poppins">
<title>Rock // Paper // Scissors</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js"></script>
</head>
<body>
<div class="container">
<h1>Rock // Paper // Scissors</h1>
<label for="rounds">Number of rounds:</label>
<input type="number" id="rounds" min="1" value="1">
<button onclick="startGame()">Start Game</button>
<h1 class="ml4">
<span class="letters letters-1">Ready</span>
<span class="letters letters-2">Dice</span>
<span class="letters letters-3">G O !</span>
</h1>
<!-- <div id="startText" style="opacity: 0; transition: opacity 2s;">S T A R T</div> -->
<div id="gameResults"></div>
<div id="userInput">
<button onclick="submitChoice('Rock')">🪨</button>
<button onclick="submitChoice('Paper')">📜</button>
<button onclick="submitChoice('Scissors')">✂️</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>