This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (56 loc) · 2.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
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
61
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>JavaScript</title>
<meta name="description" content="Javascript being tested.">
<meta name="author" content="Brandon Yee">
<link rel="stylesheet" href="style.css">
<!--See footer for the Google Hosted Libraries link.-->
<!-- <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body onload="">
<h2 id="title" class="title"></h2>
<p class="sub">Page is loaded if you see this message.</p>
<div class="none">
<button onclick="rock()">Rock</button>
<button onclick="paper()">Paper</button>
<button onclick="sciz()">Scissors</button>
<button onclick="spock()">Spock</button>
<button onclick="lizard()">Lizard</button>
</div>
<div>
User won: <div id="htmlUserStats"></div><br />
Computer won: <div id="htmlComputerStats"></div><br />
There was a tie: <div id="htmlTieStats"></div><br />
<!-- <button id="reset" onclick="reset()">Reset Stats</button> -->
</div>
<div class="right bob none">
Result: <div id="result"></div>
<p><img src="" alt="" id="pic3" width="20%" height="20%"></p>
</div>
<div class="bob none">
You chose: <div id="pen"></div>
<p><img src="" alt="" id="pic1" width="20%" height="20%"></p>
</div>
<div class="bob none">
Computer chose: <div id="pasqua"></div>
<p><img src="" alt="" id="pic2" width="20%" height="20%"></p>
</div>
<footer>
<!-- Google CDN: https://developers.google.com/speed/libraries/ -->
<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
-->
<!-- My code. -->
<script src="script.js"></script>
</footer>
</body>
</html>