-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandom.html
69 lines (56 loc) · 1.91 KB
/
random.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Pokémon</title>
<link rel="stylesheet" href="./css/random.css">
<script type="module" src="./src/random.js" defer></script>
<link href="./favicon.ico" rel="icon" type="image/x-icon" />
</head>
<body>
<h1>Get a random Pokémon</h1>
<div id="randomize-form">
<label for="kanto">
<input type="checkbox" id="kanto" name="region" value="kanto"> Kanto
</label>
<label for="johto">
<input type="checkbox" id="johto" name="region" value="johto"> Johto
</label>
<label for="hoenn">
<input type="checkbox" id="hoenn" name="region" value="hoenn"> Hoenn
</label>
<label for="sinnoh">
<input type="checkbox" id="sinnoh" name="region" value="sinnoh"> Sinnoh
</label>
<label for="unova">
<input type="checkbox" id="unova" name="region" value="unova"> Unova
</label>
<label for="kalos">
<input type="checkbox" id="kalos" name="region" value="kalos"> Kalos
</label>
<label for="alola">
<input type="checkbox" id="alola" name="region" value="alola"> Alola
</label>
<label for="galar">
<input type="checkbox" id="galar" name="region" value="galar"> Galar
</label>
<label for="paldea">
<input type="checkbox" id="paldea" name="region" value="paldea"> Paldea
</label>
<button type="submit" id="randomize">Get random Pokémon</button>
<button type="reset" id="reset-button">Reset</button>
</div>
<div>
<div id="search-form">
<input type="search" id="search-field" name="search" placeholder="Choose a Pokémon" required>
<button type="submit" id="search-button">Search</button>
<p id="search-info"></p>
</div>
<br>
<img src="" alt="">
<h2></h2>
</div>
</body>
</html>