-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
183 lines (166 loc) · 5.64 KB
/
index.html
File metadata and controls
183 lines (166 loc) · 5.64 KB
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
<!DOCTYPE html>
<html>
<!-- Head, contains important information about the website -->
<head>
<meta charset="UTF-8" />
<meta name="description" content="Flashcards Website" />
<meta name="keywords" content="Flashcards, Ecosystem, Species" />
<meta name="author" content="Swatilekha Roy" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Style -->
<link rel="stylesheet" type="text/css" href="style.css" />
<!-- Favicon -->
<link rel="shortcut icon" href="assets/favicon.png" type="image/x-icon" />
<!-- Title of Website -->
<title>My Ecosystem Website</title>
<!-- Font Awesome Icons -->
<script
src="https://kit.fontawesome.com/26bc379f29.js"
crossorigin="anonymous"
></script>
</head>
<!-- Contains all the website content -->
<body>
<!-- Header -->
<header>
<img
src="assets/logo.png"
alt="logo"
width="250px"
style="display: inline !important"
/>
<span><a href="/">Home</a></span>
<span
><a href="https://education.nationalgeographic.org/resource/ecosystem"
>About Ecosystem</a
></span
>
<span
><a href="https://www.worldwildlife.org/species"
>Species Database</a
></span
>
<span><a href="flashcard.html">Flashcards</a></span>
</header>
<h1>I heart Mama Earth!</h1>
<!-- Ecosystem Alert -->
<div id="howmanyspecies">
<h2>How many Endangered Species Names do you know?</h2>
<form>
<label for="name">Enter Your Name</label>
<input type="text" name="name" id="username" placeholder="Swatilekha" />
<label for="numberofspecies">Number of Species</label>
<input
type="number"
name="numberofspecies"
id="usernumberofspecies"
placeholder="5"
/>
<button onclick="welcomealert()">Click Me</button>
</form>
</div>
<!-- Ecosystem Media -->
<div class="media">
<h2>Ecosystem Media</h2>
<h3>Environment-based Jokes</h3>
<!-- Environment Jokes -->
<!-- More environment-based jokes at https://www.cartoonstock.com/directory/e/endangered_animals.asp -->
<img
src="https://s3.amazonaws.com/lowres.cartoonstock.com/animals-dino-dinosaur-cloud_network-cloud_networking-endangered_animals-llan1948_low.jpg"
alt="Environemnt-based Joke 1"
/>
<img
src="https://s3.amazonaws.com/lowres.cartoonstock.com/animals-lobbyist-lobby-conservationists-list-endangered_animal-dcrn1365_low.jpg"
alt="Environemnt-based Joke 2"
/>
<img
src="https://s3.amazonaws.com/lowres.cartoonstock.com/animals-solar_power-solar_panel-endangered_animals-climate_change-environment-mlyn3372_low.jpg"
alt="Environemnt-based Joke 3"
/>
<img
src="https://s3.amazonaws.com/lowres.cartoonstock.com/animals-global_warming-environmentalist-dinosaur-dino-prehistoric-rhan707_low.jpg"
alt="Environemnt-based Joke 4"
/>
<img
src="https://s3.amazonaws.com/lowres.cartoonstock.com/animals-endangered_animal-endangered_species-cod-fishing_supplies-environmentalist-rmon2308_low.jpg"
alt="Environemnt-based Joke 5"
/>
<br />
<h3>More Media</h3>
<!-- Audio -->
<!-- <audio controls>
<source src="assets/animalsound.mp3" type="audio/mpeg" />
</audio> -->
<button onclick="playsound()">Click For Sound</button>
<br />
<!-- Video -->
<video width="30%" controls autoplay>
<source src="assets/alpacavideo.mp4" />
</video>
<!-- Youtube Embed -->
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/RBdLF0JlvW8"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</div>
<!-- Species List -->
<div id="hidenseek">
<h2>Species Hide n' Seek</h2>
<ul>
<li>
<img
src="assets/giraffe.png"
alt="Giraffe"
width="100px"
id="giraffe"
/>
<button id="giraffebtn" onclick="showgiraffe()">Show Giraffe</button>
</li>
<li>
<img src="assets/monkey.png" alt="Monkey" width="100px" id="monkey" />
<button id="monkeybtn" onclick="showmonkey()">Show Monkey</button>
</li>
<li>
<img src="assets/sloth.png" alt="Sloth" width="100px" id="sloth" />
<button id="slothbtn" onclick="showsloth()">Show Sloth</button>
</li>
<li>
<img
src="assets/panda.png"
alt="Panda"
width="100px"
class="pspecies"
/>
<img
src="assets/peacock.png"
alt="Peacock"
width="100px"
class="pspecies"
/>
<img
src="assets/penguin.png"
alt="Penguin"
width="100px"
class="pspecies"
/>
<button id="pspeciesbtn" onclick="showp()">
Show 3 Species starting with "P"
</button>
</li>
</ul>
</div>
<!-- Footer -->
<footer>
<p>
Made with <i class="fa fa-duotone fa-heart"></i> by Swatilekha, 2022
</p>
</footer>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>