forked from Resilient-Labs/complex-api-bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
23 lines (19 loc) · 831 Bytes
/
index.html
File metadata and controls
23 lines (19 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="This a Pokémon fetcher through pokeapi.co and api.pokemontcg.io">
<meta name="keywords" content="Pokémon, api, fetch">
<title>Pokémon Fetcher</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<img src="img/pokemon.png" alt="pokemon logo" id="pokemonLogo">
<input type="text" id="pokemonName" placeholder="Enter Pokemon Name">
<button onclick="fetchData()">Fetch Pokemon</button><br>
<img src="" alt="Pokemon Sprite" id="pokemonSprite" style="display: none">
<img src="" alt="Pokemon Card" id="pokemonCard" style="display: none">
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>