forked from vinssm/PokeDinner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (50 loc) · 2.11 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
<!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">
<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=Press+Start+2P&display=swap" rel="stylesheet">
<link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./assets/css/homepage.css" />
<title>PokeDinner</title>
</head>
<body>
<header>
<nav>
<a class="nes-btn" id="about" href="about.html">About</a>
</nav>
</header>
<main class="container">
<img src="./assets/images/pokedinner-logo.PNG" alt="Poke-Dinner-logo" id="pk-logo">
<form class="search-poke">
<h3>Find your Pokémon's next favorite meal!</h3>
<div class="nes-field is-inline">
<input type="text" placeholder="Search Pokemon" name="Psearch" id="pokeSearch" class="nes-input" />
<button type="button" class="nes-btn is-success" id="searchBtn" onclick="saveSearch()">Search</button>
</div>
</form>
<div id="previous-searches" class="lists">
<h4>Popular Searches </h4>
<ul id="past-searches" class="nes-list is-disc">
<li onclick="pokePage('pikachu')">pikachu</li>
<li onclick="pokePage('charmander')">charmander</li>
<li onclick="pokePage('squirtle')">squirtle</li>
</ul>
</div>
<!-- load last search term from local storage into bubble -->
<div id="poke-icons" class="message -left is-inline">
<i class="nes-pokeball poke-icon"></i>
<div class="nes-balloon from-left">
<p id="last-search"></p>
</div>
</div>
</main>
<footer>
<a href="#"> PokeDinner © Copyright 2021 </a>
</footer>
<script src="./assets/js/homepage.js"></script>
</body>
</html>