-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (55 loc) · 1.85 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
<!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="icon" type="image/x-icon" href="/Favicon/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="/Favicon/favicon.ico">
<link href="Markup.css" rel="stylesheet"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Aboreto&family=Space+Mono&display=swap" rel="stylesheet">
</head>
<body>
<div id="game_over_overlay" onClick="reset()">
<h1>id="overlay_button" onclick="reset()">Game Over!</h1>
</div>
<div id="Title" name="Rock, Paper, Scissors"> <!-- title div -->
<h1>
Rock, Paper, Scissors!
</h1>
</div>
<div class="buttons"> <!-- button div -->
<button id="rb">
<img src="./Images/Rock.png" height=20px/> Rock!
</button>
<button id="pb">
<img src="/Images/Paper.png" height="20px"/> Paper!
</button>
<button id="sb">
<img src="./Favicon/favicon.ico"/> Scissors!
</button>
</div> <!-- answers div -->
<div class="answers_flex" name="answer_box">
<div class="computer_choice" name="computer_choice">
<h2> The computer chose: <span id="compc">______</span> </h2>
</div>
<div class="person_choice" name="person_choice">
<h2> You chose: <div id="playerc">______</div> </h2>
<h1> </h1>
</div>
<div id="result" name="result">
Result:
</div>
<div id="cTally" name="cTally">
Computer:
</div>
<div id="pTally" name="pTally">
Player:
</div>
</div> <!-- end flex div-->
<script src="script.js"></script>
</body>
</html>