-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (64 loc) · 2.03 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
58
59
60
61
62
63
64
<!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/swiper.css" />
<link rel="stylesheet" href="lib/fontawesome.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="lib/swiper.js"></script>
<script src="js/script.js" defer></script>
<title>Flixx App</title>
</head>
<body>
<header>
<div class="container">
<h1><a href="/">Flixx App</a></h1>
<nav>
<a href="/">Movies</a>
<a href="/shows.html">Shows</a>
</nav>
</div>
</header>
<main>
<section id="now-playing">
<h2>Now Playing</h2>
<div class="swiper">
<div class="swiper-wrapper"></div>
</div>
</section>
<section class="container">
<form action="/search.html">
<div>
<input type="radio" name="type" id="movies" value="movie" checked />
<label for="movies">Movies</label>
<input type="radio" name="type" id="shows" value="tv" />
<label for="shows">TV Shows</label>
</div>
<div>
<input
type="text"
name="search-term"
id="s"
placeholder="Enter search term"
/>
<button type="submit">Search <i class="fas fa-search"></i></button>
</div>
<div id="alert"></div>
</form>
</section>
<section class="container">
<h2>Popular Movies</h2>
<div id="popular-movies" class="auto-grid"></div>
</section>
</main>
<div id="loading" class="spinner"></div>
</body>
</html>