/
index.html
30 lines (26 loc) · 1.06 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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="wrapper">
<h1>Rock Paper Scissors</h1>
<h2 id="display">Let's play a game!</h2>
<div id="rock" class="play-game fas fa-hand-rock fa-5x"></div>
<div id="paper" class="play-game fas fa-hand-paper fa-5x"></div>
<div id="scissors" class="play-game fas fa-hand-scissors fa-5x"></div>
<button id="reset" class="hidden">Play Again</button>
<div id="scoreboard">
<h2 id="player">Player</h2>
<div id="player-score" class="scores">0</div>
<h2 id="computer">Computer</h2>
<div id="computer-score" class="scores">0</div>
</div>
</div>
<script type="text/javascript" src="script.js"></script>
</body>
</html>