generated from mpagels/vite-vanilla-js-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (32 loc) · 1.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/src/styles/index.css" />
<title>Rick and Morty</title>
</head>
<body>
<header id="header">
<h1>Rick and Morty</h1>
<form action="" data-js="searchForm">
<input class="header__search-input" name="search" type="text" placeholder="search by name" data-js="nameSearch">
<select class="header__filter" name="filter" id="filter" data-js="filter">
<option value="">all</option>
<option value="Alive">alive</option>
<option value="Dead">dead</option>
<option value="unknown">unknown</option>
</select>
<button type="submit" class="header__dataButton" data-js="fetchDataButton">Search</button>
</form>
</header>
<main class="main" id="app">
</main>
<footer>
<p>Made with love, by Stefan</p>
<a href="#header"><img class="icon" src="./src/assets/rick-icon.png" alt="rick-icon"></a>
</footer>
<script type="module" src="/src/main.js"></script>
</body>
</html>