-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (51 loc) · 1.91 KB
/
Copy pathindex.html
File metadata and controls
68 lines (51 loc) · 1.91 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Movie Search App 🎬</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main class="card" role="main" aria-labelledby="title">
<header>
<div class="logo">MS</div>
<div>
<h1 id="title">Movie Search App 🎬</h1>
<p class="lead">Enter the details</p>
</div>
</header>
<section class="search-panel">
<div class="row">
<!-- IMPORTANT: keep id=query for first JS -->
<input id="query" type="search" placeholder="Enter the name" autocomplete="off" />
<select id="type">
<option value="">All</option>
<option value="movie">Movie</option>
<option value="series">Series</option>
<option value="episode">Episode</option>
</select>
<input id="year" type="number" placeholder="Year" min="1950" max="2100" />
<!-- IMPORTANT: keep id=searchBtn -->
<button id="searchBtn" class="btn">Search</button>
</div>
<div class="meta-row">
<div id="status" class="muted">Enter a title to begin.</div>
</div>
</section>
<!-- IMPORTANT: keep id=results -->
<section id="results" class="results-grid" aria-live="polite"></section>
<nav class="pagination" aria-label="Search results pagination">
<button id="prevBtn" class="btn secondary" disabled>Prev</button>
<div id="pageInfo" class="muted">Page 0 of 0</div>
<button id="nextBtn" class="btn secondary" disabled>Next</button>
</nav>
<details>
<summary>▶ Happy Day</summary>
<p class="small">🎵 Music makes movie nights better</p>
</details>
</main>
<script src="script.js"></script>
</body>
</html>