-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (74 loc) · 3.01 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<title>Agne's Random Movie - Random Movie Generator From 10.000 Movies</title>
</head>
<body>
<div id="app">
<h1 class="main-title">
<div class='title-word'>
<span>A</span><span>G</span><span>N</span><span>E</span><span>'</span><span>S</span>
</div>
<div class='title-word'>
<span>R</span><span>A</span><span>N</span><span>D</span><span>O</span><span>M</span>
</div>
<div class='title-word'>
<span>M</span><span>O</span><span>V</span><span>I</span><span>E</span><span>!</span>
</div>
</h1>
<div id="mobile-only">
<p>We're sorry. We haven't designed this site for tablet or desktop use yet.</p>
<br />
<p>Please visit us on mobile.</p>
</div>
<div class="search-params">
<!-- <input type="text" name="cast" id="cast" placeholder='Actor/Actress'> -->
<p class='params-label'>Minimum Rating : <span class='range-output' id="range-output"></span></p>
<div class="slidecontainer">
<input type="range" min="0" max="8" value="0" class="slider" id="min-rating">
</div>
<p class='params-label'>From Year : <span class='range-output' id="year-output"></span></p>
<div class="slidecontainer">
<input type="range" min="0" max="12" value="0" class="slider" id="min-year">
</div>
</div>
<div id="search-alert">
<div><p>!</p></div>
<p class='search-text'>
We search over 10,000 movies. The more strict
you are with your searches the longer they may take.
</p>
</div>
<main>
<button id="get-random-movie">FIND A RANDOM MOVIE</button>
<div class='movie-container'>
<div class="title-container">
<p id="movie-title"></p>
</div>
<div class="movie-details">
<div class="detail-title">Avg. Rating</div>
<div class="detail-title">Release Year</div>
<div id="rating"></div>
<div id="year"></div>
</div>
<div id="movie-image"></div>
<p id="description"></p>
</div>
<div class="more-details-container">
</div>
</main>
<footer>
<div class="attribution">
<p>This app is powered by</p>
<a href="https://www.themoviedb.org/" target='_blank'>
<img src="./tmdb-logo.svg" alt="The Movie Database">
</a>
</div>
</footer>
</div>
<script src="index.js"></script>
</body>
</html>