-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (36 loc) · 1.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Asap:100,400,500,700" rel="stylesheet">
</head>
<body>
<header>
<h1>Rock Paper Scissors</h1>
</header>
<div class="score-board">
<div id="user-label" class="badge">USER</div>
<div id="computer-label" class="badge">COMP</div>
<span id="user-score">0</span> : <span id="computer-score">0</span>
</div>
<div class="result">
<p>Paper covers rock. You win!</p>
</div>
<div class="choices">
<div class="choice" id="r">
<img src="images/rock.jpg" alt="">
</div>
<div class="choice" id="p">
<img src="images/paper.jpg" alt="">
</div>
<div class="choice" id="s">
<img src="images/scissors.jpg" alt="">
</div>
</div>
<p id="action-message">- Make your move -</p>
<p class="footer">Created by James Lu @2018<br>Tutorial <a href="https://www.youtube.com/watch?v=jaVNP3nIAv0" target="_blank">: freeCodeCamp.org Rock Paper Sissors Game</a></p>
<script src="app.js" charset="utf-8"></script>
</body>
</html>