-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
156 lines (147 loc) · 4.67 KB
/
index.html
File metadata and controls
156 lines (147 loc) · 4.67 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
<!DOCTYPE html>
<html>
<!-- Head, contains important information about the website -->
<head>
<meta charset="UTF-8" />
<meta name="description" content="Pokemon Website" />
<meta name="keywords" content="Pokemon, game, fun" />
<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 Pokemon Zone</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="200px"
style="display: inline !important"
/>
<span><a href="/">Home</a></span>
<span><a href="https://www.pokemon.com">About Pokemon</a></span>
<span><a href="https://pokemondb.net/">Pokemon Database</a></span>
<span><a href="flashcard.html">Flashcards</a></span>
</header>
<h1>I heart Pokemon!</h1>
<!-- Pokemon Alert -->
<div id="howmanypokemons">
<h2>How many Pokemons have you collected?</h2>
<form>
<label for="name">Enter Your Name</label>
<input type="text" name="name" id="username" placeholder="Swatilekha" />
<label for="numberofpokemon">Number of Pokemons</label>
<input
type="number"
name="numberofpokemon"
id="usernumberofpokemons"
placeholder="5"
/>
<button onclick="welcomealert()">Click Me</button>
</form>
</div>
<!-- Pokemon Media -->
<div class="media">
<h2>Pokemon Media</h2>
<!-- Audio -->
<button onclick="playsound()">Click For Sound</button>
<br />
<!-- Video -->
<video width="30%" controls autoplay>
<source src="assets/pokemonvideo.mp4" />
</video>
<!-- Youtube Embed -->
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/jTmefcxpXs4"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
style="margin-left: 10%"
></iframe>
</div>
<!-- Pokemon List -->
<div id="hidenseek">
<h2>Pokemon Hide n' Seek</h2>
<ul>
<li>
<img
src="https://img.pokemondb.net/sprites/black-white/anim/normal/charizard.gif"
alt="Charizard"
width="100px"
id="charizard"
/>
<button id="charizardbtn" onclick="showcharizard()">
Show Charizard
</button>
</li>
<li>
<img
src="https://img.pokemondb.net/sprites/black-white/anim/normal/wigglytuff.gif"
alt="Wigglytuff"
width="100px"
id="wigglytuff"
/>
<button id="wigglytuffbtn" onclick="showwigglytuff()">
Show Wigglytuff
</button>
</li>
<li>
<img
src="https://img.pokemondb.net/sprites/black-white/anim/normal/venusaur.gif"
alt="Venusaur"
width="100px"
id="venusaur"
/>
<button id="venusaurbtn" onclick="showvenusaur()">
Show Venusaur
</button>
</li>
<li>
<img
src="https://img.pokemondb.net/sprites/black-white/anim/normal/cascoon.gif"
alt="Cascoon"
width="100px"
class="cpokemon"
/>
<img
src="https://img.pokemondb.net/sprites/black-white/anim/normal/carvanha.gif"
alt="Carvanha"
width="100px"
class="cpokemon"
/>
<img
src="https://img.pokemondb.net/sprites/black-white/anim/normal/corphish.gif"
alt="Corphish"
width="100px"
class="cpokemon"
/>
<button id="cpokemonbtn" onclick="showc()">
Show 3 Pokemons starting with "C"
</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>