-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (59 loc) · 2.15 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Rock, Paper, Scissors</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="RPS.css" />
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">
You are using an <strong>outdated</strong> browser. Please
<a href="#">upgrade your browser</a> to improve your experience.
</p>
<![endif]-->
<header>
<h1>Rock - Paper - Scissors</h1>
</header>
<section id="choice">
<h2>What Will You Choose? Rock, Paper, or Scissors?</h2>
<div>
<button id="rock" type="button" aria-label="rock">🪨</button>
<button id="paper" type="button" aria-label="paper">📄</button>
<button id="scissors" type="button" aria-label="scissors">✂️</button>
</div>
</section>
<section id="score">
<h2>Score</h2>
<div id="score-box">
<h3>Player:<span id="player-score"></span></h3>
<h3>Computer:<span id="computer-score"></span></h3>
</div>
</section>
<section id="outcome">
<h2>Who Won This Round?</h2>
<div id="outcome-feedback">
<p>Match Not Started</p>
</div>
</section>
<section id="reset">
<h2>Reset the Game?</h2>
<button id="reset-button" type="button">Reset</button>
</section>
<footer>© Aaron Endsley</footer>
</body>
<script src="RPS.js"></script>
</html>