generated from CodeYourFuture/tv-show-dom-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (70 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>TV Show Project | Riyaaz Singh (Riyaazct)</title>
<link href="style.css" rel="stylesheet" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
</head>
<body>
<header>
<nav>
<div>
<h1>ShowFlix</h1>
<p>Your Ultimate TV Show Companion</p>
</div>
<div id="searchContainer"></div>
</nav>
</header>
<main>
<!-- container for select -->
<div class="selectSection">
<div class="selectButtons">
<button class="showButton">Back to Shows</button>
<button class="episodeButton">Back to Episodes</button>
</div>
<div id="selectContainer">
<h3>Select a TV Show</h3>
<!-- select for shows -->
<div>
<select id="select2" name="shows">
<option value="allShows">All Shows</option>
</select>
</div>
<!-- select for episodes -->
<div class="episodeListDropdown">
<select id="select" name="episodes" style="display: none">
<option class="default" value="allEpisodes">
All Episodes
</option>
</select>
</div>
</div>
</div>
<div id="root"></div>
</main>
<!--TVMAZE insert-->
<footer id="tvmaze">
<div>
<h5>Data for this website supplied by</h5>
</div>
<div>
<a href="https://tvmaze.com/" target="_blank">
<img
src="https://static.tvmaze.com/images/tvm-header-logo.png"
alt="TVmaze logo"
/>
</a>
</div>
</footer>
<script src="shows.js"></script>
<!-- Loads a provided function called getAllEpisodes() which returns all episodes -->
<script src="episodes.js"></script>
<!-- Loads YOUR javascript code -->
<script src="script.js"></script>
</body>
</html>