-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (35 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<!-- Google Font -- Varela Round -->
<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=Varela+Round&display=swap" rel="stylesheet">
<!-- Local CSS Sheet -->
<link rel="stylesheet" href="./assets/css/style.css">
<title>Rock Paper Scissors JavaScript Game</title>
</head>
<body>
<header>
<div class="hero-container">
<h1>Welcome to Rock Paper Scissors!</h1>
<h2>Who will win? You? The Computer?</h2>
<h3>Click to play!</h3>
<h4 class="rps-style"><span>Paper!</i></span> /\\/ <span>Scissors!</span> /\\/ <span>Rock!</span> /\\/</h4>
</div>
</header>
<div class="choices-container">
<h2>Computer Choice: <span id="computer-choice"></span></h2>
<h2>Your Choice: <span id="user-choice"></span></h2>
<h2>Result: <span id="result"></span></h2>
<button id="rock">Rock</button>
<button id="paper">Paper</button>
<button id="scissors">Scissors</button>
</div>
<script src="./assets/js/app.js" charset="utf-8"></script>
</body>
<footer>
<h4>Thanks for playing!</h4>
</footer>
</html>