forked from KelseyRA/movie-battle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
93 lines (83 loc) · 3.47 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
83
84
85
86
87
88
89
90
91
92
93
<!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">
<title>Movie-Battle-Search</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.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=Poppins:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/search.css">
</head>
<body>
<!-- Page header -->
<section class="hero is-primary is-medium p-6">
<div class="hero-head">
<nav class="navbar">
<div class="container">
<div class="navbar-brand">
<span>
<a href="./trivia.html">
<span class="navbar-burger button is-primary is-inverted" data-target="navbarMenuHeroA">
<span></span>
<span></span>
<span></span>
</span>
</a>
</span>
</div>
<div id="navbarMenuHeroA" class="navbar-menu">
<div class="navbar-end">
<span class="navbar-item">
<a href="./trivia.html" class="button is-primary is-inverted is-hovered">
<i class="fas fa-flag-checkered"></i>
<span>Play Again</span>
</a>
</span>
</div>
</div>
</div>
</nav>
</div>
<!-- Title and search input -->
<div class="hero-body">
<div class="container has-text-centered">
<p class="title">
Movie Battle
</p>
<p class="subtitle">
<input id="movie-title" type="text" placeholder="Search" />
<button class="js-modal-trigger button is-dark" data-target="modal-js-example" id="submit-btn"
placeholder="Submit">Submit</button>
</p>
</div>
</div>
</section>
<!-- Area where searched movie titles populate via JS -->
<main class="background">
<div class="tile is-ancestor movie-info is-flex-wrap-wrap mx-1">
</div>
</main>
<!-- Footer with API acknowledgements -->
<footer class="footer has-background-white mt-6">
<div class="content has-text-centered has-text-dark">
<p>
<strong>Movie data gathered by </strong> <a href="https://www.themoviedb.org/">TMDb</a>
</p>
</div>
</footer>
<div id="modal-js-example" class="modal">
<div class="modal-background"></div>
<div class="modal-content">
<div class="box">
<p class="has-text-centered">No movies were found with this title. Please try again.</p>
</div>
</div>
<button class="modal-close is-large" aria-label="close"></button>
</div>
<script src="./assets/modal.js"></script>
<script src="./assets/search.js"></script>
</body>
</html>