forked from nerdydrew/Random-Pokemon-Generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
102 lines (87 loc) · 4.27 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Random Pokémon Generator</title>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="description" content="This tool generates random Pokémon by region, type, and more.">
<link rel="alternate" type="application/rss+xml" title="Random Pokémon Generator Feed" href="rss.xml">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="manifest.json">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#FF4A4A">
<meta name="theme-color" content="#FFFFFF">
</head>
<body>
<header>
<h1>Random Pokémon Generator</h1>
</header>
<form action="?" method="get" id="controls">
<fieldset>
<label>Generate <select name="n" id="n">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6" selected>6</option>
</select> Pokémon.</label>
<select name="region" id="region">
<option value="all">All Regions</option>
<option value="kanto" title="Generation 1 (Red, Blue, and Yellow)">Kanto</option>
<option value="johto" title="Generation 2 (Gold, Silver, and Crystal)">Johto</option>
<option value="hoenn" title="Generation 3 (Ruby, Sapphire, and Emerald)">Hoenn</option>
<option value="sinnoh" title="Generation 4 (Diamond, Pearl)">Sinnoh</option>
<option value="sinnoh_pt" title="Generation 4 (Platinum)">Sinnoh (Plat.)</option>
<option value="unova" title="Generation 5 (Black and White)">Unova</option>
<option value="unova_b2w2" title="Generation 5 (Black 2 and White 2)">Unova (B2W2)</option>
<option value="kalos" title="Generation 6 (X and Y)">Kalos</option>
<option value="alola" title="Generation 7 (Sun and Moon)">Alola</option>
<option value="alola_usum" title="Generation 7 (Ultra Sun and Ultra Moon)">Alola (USUM)</option>
<option value="galar" title="Generation 8 (Sword and Shield)">Galar</option>
</select>
<select name="type" id="type">
<option value="all">All Types</option>
<option value="bug">Bug</option>
<option value="dark">Dark</option>
<option value="dragon">Dragon</option>
<option value="electric">Electric</option>
<option value="fairy">Fairy</option>
<option value="fighting">Fighting</option>
<option value="fire">Fire</option>
<option value="flying">Flying</option>
<option value="ghost">Ghost</option>
<option value="grass">Grass</option>
<option value="ground">Ground</option>
<option value="ice">Ice</option>
<option value="normal">Normal</option>
<option value="poison">Poison</option>
<option value="psychic">Psychic</option>
<option value="rock">Rock</option>
<option value="steel">Steel</option>
<option value="water">Water</option>
</select>
</fieldset>
<fieldset>
<label><input type="checkbox" id="ubers" name="ubers" value="true" checked><abbr title="Overpowered Pokémon not used in standard play.">Ubers</abbr></label>
<label><input type="checkbox" id="nfes" name="nfes" value="true" checked><abbr title="Pokémon that are Not Fully Evolved.">NFEs</abbr></label>
<label><input type="checkbox" id="sprites" name="sprites" value="true" checked>Sprites</label>
<label><input type="checkbox" id="natures" name="natures" value="true">Natures</label>
<label><input type="checkbox" id="forms" name="forms" value="true" checked><abbr title="Allow alternate forms, such as Mega Evolutions.">Forms</abbr></label>
<input value="Generate" type="button" onclick="generateRandom()">
</fieldset>
</form>
<section id="results"></section>
<footer>
<p>
<a href="rss.xml">RSS</a> |
<a href="https://github.com/nerdydrew/Random-Pokemon-Generator">GitHub</a> |
<a href="mailto:hi@callmedrew.com">Contact</a> |
Pokémon is © Nintendo. Website is © <a href="https://callmedrew.com/">Drew Mitchell</a> and <a href="https://github.com/Blackstareye">Blackeye</a>.</p>
</footer>
<script>var API_CALL = false;</script>
<script src="random.js"></script>
</body>
</html>