-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (48 loc) · 2.19 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
<!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" />
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="./css/style.css" />
<title>Movie Search</title>
</head>
<body>
<header class="bg-black text-white py-5 px-7 text-center">
<input
class="bg-black lg:w-6/12 md:w-6/12 py-3 px-3 rounded-l-full border-gray-700 border-2 text-white transition ease-in-out delay-350 bg-black hover:-translate-x-2 hover:scale-102 duration-1000 hover:border-white"
type="text"
placeholder="Search A Movie title..."
id="search-box"
/>
<button
id="button"
class="bg-black w-auto py-3 px-3 rounded-r-full border-gray-700 border-2 font-semibold text-center align-center transition ease-in-out delay-350 bg-black hover:-translate--1 hover:scale-102 duration-1000 hover:border-white">
Search
</button>
<h2>Search history:</h2>
<br>
<ul id="historylist" class="bg-black text-white"></ul>
<button
id="deletehistory"
class = "hidden bg-black w-auto py-1 px-1 rounded-full border-gray-700 border-2 font-semibold text-center align-center transition ease-in-out delay-350 bg-black hover:-translate--1 hover:scale-102 duration-1000 hover:border-white">
Delete History
</button>
</header>
<container class="grid xl:grid-rows-2 xl:grid-flow-col md:grid-rows-1 bg-white gap-2 p-2 bg-gray-900">
<article id="movie-poster"
class="xl:row-span-3 xl:col-span-1 row-span-2 col-span-2 min-w-fit text-gray-500 bg-black grid items-center justify-center h-screen rounded-xl">
Poster:
</article>
<div id="utube" class="col-span-2 min-w-full p-2 text-gray-500 bg-black rounded-xl object-contain" >Trailer:</div>
<div
id="result-movie"
class="row-span-2 col-span-2 w-16 md:w-32 xl:w-48 flex p-2 text-gray-500 bg-black min-w-full leading-8 rounded-xl"
>Details:</div>
</container>
<div>
</div>
<script src="./js/script.js"></script>
</body>
</html>