-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (51 loc) · 1.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
<!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="styles.css">
<link rel="icon" href="assets/rock.png">
<title>Project: Rock Paper Scissors</title>
</head>
<body>
<div class="container">
<div class="game" id="game">
<div class="title">
<h1>Rock Paper Scissors!</h1>
</div>
<div class="subject">
<div class="player">
<h2>Player</h2>
<h2 class="choice" id="player-choice">❔</h2>
<div class="score" id="playerScore">
</div>
</div>
<div class="results"></div>
<div class="computer">
<h2>Computer</h2>
<h2 class="choice" id="computer-choice">❔</h2>
<div class="score" id="computerScore">
</div>
</div>
</div>
<div class="button">
<button id="Rock">🪨</button>
<button id="Paper">📄</button>
<button id="Scissors">✂️</button>
</div>
<div id="alert" class="alert">
<div class="alert-content">
<h3 class="alert-title">Game Over</h3>
<p class="alert-message"></p>
<button class="play-again" onclick="restartGame()">Play Again?</button>
</div>
</div>
<div class="gameRounds">
<ul class="rounds"></ul>
</div>
</div>
</div>
</body>
<script defer src="game.js"></script>
</html>