-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame-script.html
43 lines (42 loc) · 1.27 KB
/
game-script.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
<!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" />
<meta
name="description"
content="A Simple Rock-Paper-Scissors web game that you can play against the CPU and test how good you are."
/>
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="styles.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
</head>
<body>
<header><span>Rock-Paper-Scissors</span></header>
<main class="content">
<div class="score">
<h3 class="user">0</h3>
<h3 class="divider">:</h3>
<h3 class="comp">0</h3>
</div>
<div class="status written">
Make a choice. Don't worry, the computer made its choice already.
</div>
<div class="options">
<button class="indiv-option rock">✊🏼</button>
<button class="indiv-option paper">✋🏼</button>
<button class="indiv-option scissors">✌🏼</button>
</div>
<div class="game-end written"></div>
<div id="reset">Reset</div>
</main>
<footer>
</footer>
<link
href="https://fonts.googleapis.com/css2?family=Karla:wght@300;400;700;900&display=swap"
rel="stylesheet"
/>
<script src="script.js"></script>
</body>
</html>