-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (54 loc) · 1.93 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
<!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">
<title>Rock Paper Scissors</title>
<link rel="shortcut icon" href="assets/rock-paper-scissors.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
</head>
<body>
<main>
<!-- dark mode button -->
<button onclick="darkMode()" class="btn-dark-mode">
<span class="material-symbols-outlined moon-icon">
dark_mode
</span>
</button>
<!-- titles -->
<div class="titles">
<h1 id="title1" class="title"></h1><h1 id="title2" class="title">|</h1>
</div>
<!-- page intro -->
<div class="intro">
<p class="intro-paragraph">Are you good at Rock Paper Scissors game? Yes? No? Find out, press start!</p>
<button id="start-game">
<span>start</span>
</button>
</div>
<!-- game play -->
<div class="game-play">
<button class="btn" id="rock">rock</button>
<button class="btn" id="paper">paper</button>
<button class="btn" id="scissors">scissors</button>
<div class="user-score">user: </div>
<div class="comp-score">computer: </div>
<div class="results">
<div class="rounds-results"></div>
<div class="final-result"></div>
</div>
</div>
</main>
<!-- footer -->
<footer>
Made by <strong> <a href="https://github.com/anndcodes/rock-paper-scissors">Annd</a> </strong> with
<span title="love" class="material-symbols-outlined heart-icon">
favorite
</span>
</footer>
<script src="script.js"></script>
</body>
</html>