-
Notifications
You must be signed in to change notification settings - Fork 0
/
headsOrTails.html
111 lines (104 loc) · 5.6 KB
/
headsOrTails.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE Html>
<html lang = "en">
<head>
<meta charset="UFT-8">
<meta name="viewpoint" content="width=device-width, initial-scale=1.0">
<title>Heads Or Tails</title>
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Courgette">
<link rel="stylesheet" href="./css/all.css">
<link rel="stylesheet" href="./css/headsOrTails.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg px-4">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#myNav">
<span class="toggler-icon"><i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="myNav">
<ul class="navbar-nav mx-auto text-capitalize">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"> Easy Projects <b class="caret"></b></a>
<ul class="dropdown-content">
<li class="nav-item active">
<a class="nav-link" href="index.html">Colour Change</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="hex.html">Colour Change Hex Code</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="quotes.html">Random Quote</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="counter.html">Counter</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="Gallery.html">Gallery</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="calculator.html">Calculator</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="clock.html">Clock</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="mortgage.html">Mortgage Calc.</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="RSS.html">RSS Feed for BBC News</a>
</li>
</ul>
</li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"> Intermediate Projects <b class="caret"></b></a>
<ul class="dropdown-content">
<li class="nav-item active">
<a class="nav-link" href="bakerywebpage.html">Bakery Webpage</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="budget.html">Budgeting</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="brickBreaker.html">Brick Breaker</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="WhackAMole.html">Whack A Mole</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="todo.html">ToDo</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="hangman.html">Hangman</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="headsOrTails.html">Heads Or Tails</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="plinko.html">Plinko</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<div class="canvas">
<h1>First Player to 5 Points Win!</h1>
<div class="selection">Player Selected: <span id="player-selection"></span></div><div class="selection">Computer Selected: <span id="computer-selection"></span></div>
<div id="center">
<div id="winner"></div>
<div id="image"></div>
</div>
<div>
<div id="player">Player: <span id="player-score">0</span></div>
<div id="computer">Computer: <span id="computer-score">0</span></div>
</div>
<div>
<h2>Make a Selection</h2>
<button id="heads">Heads</button>
<button id="tails">Tails</button>
</div>
</div>
<script src="./js/headsOrTails.js"></script>
</body>
</html>