-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (61 loc) · 3.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Title of the Website -->
<title>Pokemon API</title>
<!-- Using Bootstrap framework for css -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bangers&display=swap" rel="stylesheet">
<!-- Fontawesome to get icons -->
<script src="https://kit.fontawesome.com/d676f25411.js" crossorigin="anonymous"></script>
</head>
<body style="background-color: whitesmoke; font-family: 'Bangers', cursive;">
<div class="text-center my-5">
<h1 style="color: rgb(156, 23, 23); font-size: xx-large">
<legend>
<i class="fa-solid fa-bolt"></i> Check out your Pokemon's Blazing
Movesssssss...<i class="fa-solid fa-bolt"></i>
</legend>
<a href="https://www.freepnglogos.com/pics/pokemon-logo-png" title="Image from freepnglogos.com"><img
src="https://www.freepnglogos.com/uploads/pok-mon-go-logo-png-30.png" width="200"
alt="Pokémon GO Logo png" /></a>
</h1>
<!-- form -->
<form class="form-group text-center mt-4">
<fieldset class="d-flex justify-content-center">
<input class="form-control w-25" placeholder="Enter a Pokemon" type="text" name="pokeName"
id="pokeName" />
<button class="btn btn-dark" type="button" id="getApi">
<i class="fas fa-search"></i>
</button>
</fieldset>
</form>
</div>
<div style="
color: rgb(156, 23, 23);
font-size: xx-large;
color: rgb(156, 23, 23);
background-color: rgb(254, 244, 228);
" class="container text-center px-5">
<div class="d-flex justify-content-center" id="output"></div>
</div>
<footer style=" background-color: rgb(156, 23, 23); margin-top: 30px;"
class="p-5 text-white text-center position-relative">
<div class="container">
<p style="font-size: larger;"> Try Pokemons like: bulbasaur, pikachu, charmander, dragonite, sylveon, chikorita and so on... <br>
(NOTE: please write pokemon names in "SMALLCASE LETTERS")
</p>
<p class="lead">Copyright © 2023 PokeAPI Project</p>
<p class="small">Made by <a href="https://www.linkedin.com/in/sanskritiguptaa/">Sanskriti Gupta</a></p>
<a href="#" class="position-absolute bottom-0 end-0 p-5">
<i class="bi bi-arrow-up-circle h1"></i>
</a>
</div>
</footer>
<!-- Calling the javascript file -->
<script src="script.js"></script>
</body>
</html>