-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (43 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"/>
<link href="https://fonts.googleapis.com/css?family=Nunito|Open+Sans&display=swap" rel="stylesheet">
<title>My Movies</title>
</head>
<style>
h1,h2,h3,h4,h5,h6 { font-family: 'Nunito', sans-serif;}
p {font-family: 'Open Sans', sans-serif;}
</style>
<body style="background-color:#232323">
<div class="container bg-dark pt-3 rounded">
<h1 class="pt-5 text-center text-white">OMDb API</h1>
<div class="search-box text-center">
<h3 class="text-secondary">Search by Movie Title</h3>
<img src="https://omdbapi.com/src/poster.jpg" alt="movie poster" class="pb-3 mt-3"/>
<div class="pb-4 mt-3">
<form id="searchForm">
<input id="searchText" style="height: 50px; width:300px" type="text" placeholder=" Search movies..." />
</form>
</div>
</div>
<h4 class="text-center pb-4">What's your favorite movie?</h4>
</div>
<div class="container bg-dark rounded" style="margin-top:-20px;">
<div id="movies" class="row"></div>
<div class="container">
<div id="movie" class="well"></div>
</div>
</body>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="api.js"></script>
</html>