generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clock.html
184 lines (178 loc) · 5.94 KB
/
clock.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home | fledgling</title>
<meta
name="description"
content="fledgling is an interactive website designed to engage people in birdwatching"
/>
<meta
name="keywords"
content="bird, birdwatching, bird game, eBird, bird sightings, bird identification game"
/>
<meta name="author" content="fledgling" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn"
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/e4ffee1eee.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="assets/css/style.css" type="text/css" />
</head>
<body>
<!--Nav - Sourced From Bootstrap Library-->
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" id="navbar-logo" href="index.html">fledgling</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarTogglerDemo02"
aria-controls="navbarTogglerDemo02"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div
class="collapse navbar-collapse justify-content-end"
id="navbarTogglerDemo02"
>
<ul class="navbar-nav">
<li class="nav-item">
<a
role="button"
class="btn btn-outline-dark btn-margin"
href="game.html"
>Play The Game</a
>
</li>
<li class="nav-item" id="sightings-button">
<a
role="button"
class="btn btn-outline-dark btn-margin"
href="sightings.html"
>Find Sightings Near You</a
>
</li>
</ul>
</div>
</div>
</nav>
<div class="container centerTop">
<!--Clock Box-->
<div id="clock-box" class="pb-5 pb-lg-0">
<!--Landing Screen -->
<div id="landing-screen">
<div class="row centered-row">
<button
type="button"
id="start-clock"
data-button-command="start-clock"
class="btn btn-outline-dark btn-margin"
>
Start Clock
</button>
</div>
<div class="row centered-row">
<p>kindly note, this clock is still in development</p>
</div>
<div class="row centered-row">
<p>for best results, please use mozilla firefox</p>
</div>
</div>
<!--Clock Screen -->
<div id="clock-screen" class="d-none">
<div class="">
<h1 id="clock">00:00</h1>
</div>
<div id="bird-song-button">
<button
type="button"
onclick="playSound()"
class="btn btn-outline-dark btn-margin"
>
Play this hour's chime
</button>
</div>
<div id="stop-sound-button">
<button
type="button"
onclick="stopSound()"
class="btn btn-outline-dark btn-margin"
>
Stop sound
</button>
</div>
<p id="birdName"></p>
</div>
</div>
</div>
<!--Footer-->
<footer class="mt-auto d-flex align-self-end">
<div class="container">
<div class="row">
<div class="col-sm-6 text-sm-left">
<h3>fledgling</h3>
<p class="small mb-md-2">
An interactive website designed to engage people in birdwatching
</p>
</div>
<div class="col-sm-6 text-sm-right">
<ul class="list-inline social-links">
<li class="list-inline-item">
<a target="_blank" href="https://www.facebook.com">
<i
class="fa-brands fa-facebook-square"
aria-hidden="true"
></i>
<span class="sr-only">Facebook</span>
</a>
</li>
<li class="list-inline-item">
<a target="_blank" href="https://twitter.com">
<i class="fa fa-twitter" aria-hidden="true"></i>
<span class="sr-only">Twitter</span>
</a>
</li>
<li class="list-inline-item">
<a target="_blank" href="https://www.instagram.com">
<i class="fa fa-instagram" aria-hidden="true"></i>
<span class="sr-only">Instagram</span>
</a>
</li>
</ul>
</div>
<div class="col-sm-6 text-sm-left">
<p class="small">Copyright © 2022 fledgling</p>
</div>
</div>
</div>
</footer>
<!--Bootstrap scripts-->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-fQybjgWLrvvRgtW6bFlB7jaZrFsaBXjsOMm/tB9LTS58ONXgqbR9W8oWht/amnpF"
crossorigin="anonymous"
></script>
<!--Jquery and my script-->
<script
src="https://code.jquery.com/jquery-3.6.0.js"
integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="
crossorigin="anonymous"
></script>
<script src="assets/scripts/clock.js"></script>
</body>
</html>