-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
40 lines (38 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Superhero Search</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/build/pure-min.css"
integrity="sha384-X38yfunGUhNzHpBaEBsWLO+A0HDYOQi8ufWDkZ0k9e0eXz/tH3II7uKZ9msv++Ls"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./assets/css/style.css" />
<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=Roboto:wght@300&display=swap" rel="stylesheet" />
</head>
<body>
<div class="container">
<h1 class="header">Superhero Search!</h1>
<div class="hero-container">
<img class="hero-image" src="./assets/images/superman.png" alt="Superman" />
<!-- <img class="hero-image" src="./assets/images/thor.png" alt="Thor" /> -->
</div>
<div style="display: flex; flex-direction: column">
<form class="pure-form custom-form" id="character-form">
<input name="name" id="name" type="text" autofocus="true" class="form-input" placeholder="Enter a character name" />
<button type="submit" class="pure-button pure-button-primary custom-button">Search</button>
</form>
<div class="recent-searches-container" id="recent-searches-container">
<h2>Recent Searches</h2>
<ol id="recent-searches-list"></ol>
</div>
</div>
</div>
</body>
<script src="./assets/js/script.js"></script>
</html>