-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
82 lines (73 loc) · 2.53 KB
/
search.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
71
72
73
74
75
76
77
78
79
80
81
82
<!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=Poppins:wght@300;400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="lib/fontawesome.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/spinner.css" />
<script src="js/script.js" defer></script>
<title>Flixx | Search Movies & Shows</title>
</head>
<body>
<header class="main-header">
<div class="container">
<div class="logo"><a href="/">FLIXX</a></div>
<nav>
<ul>
<li>
<a class="nav-link" href="/">Movies</a>
</li>
<li>
<a class="nav-link" href="/shows.html">TV Shows</a>
</li>
</ul>
</nav>
</div>
</header>
<!-- Search Movies -->
<section class="search">
<div class="container">
<div id="alert"></div>
<form action="/search.html" class="search-form">
<div class="search-radio">
<input type="radio" id="movie" name="type" value="movie" checked />
<label for="movies">Movies</label>
<input type="radio" id="tv" name="type" value="tv" />
<label for="shows">TV Shows</label>
</div>
<div class="search-flex">
<input type="text" name="search-term" id="search-term" placeholder="Enter search term" />
<button class="btn" type="submit">
<i class="fas fa-search"></i>
</button>
</div>
</form>
</div>
</section>
<!-- Search Results -->
<section id="search-results-wrapper" class="container">
<heading id="search-results-heading"></heading>
<div id="search-results" class="grid">
</div>
<div id="pagination">
</div>
</section>
<!-- Footer -->
<footer class="main-footer">
<div class="container">
<div class="logo"><span>FLIXX</span></div>
<div class="social-links">
<a href="https://www.facebook.com" target="_blank"><i class="fab fa-facebook-f"></i></a>
<a href="https://www.twitter.com" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://www.instagram.com" target="_blank"><i class="fab fa-instagram"></i></a>
</div>
</div>
</footer>
<div class="spinner"></div>
</body>
</html>