-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (100 loc) · 3.52 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!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>Youtube Trending Videos</title>
<link rel="stylesheet" href="Youtube.css" />
</head>
<body>
<!-- <-------- starting of navbar ------------>
-->
<nav class="navbar">
<div class="toggle-btn">
<span></span>
<span></span>
<span></span>
</div>
<a href="index.html">
<img src="logoAndImages/logo.png" alt="logo" class="logo"
/></a>
<div class="search-box">
<input
type="text"
class="search-bar"
placeholder=" Search"
id="inputBox"
/>
<button id="searchbtn" onclick="search()" class="search-btn">
<img src="logoAndImages/search.png" alt="" />
</button>
<img
id="mic"
width="100%"
src="logoAndImages/microphone.png"
class="icon"
alt=""
/>
</div>
<div class="user-options">
<img src="logoAndImages/video.png" class="icon" alt="" />
<img src="logoAndImages/grid.png" class="icon" alt="" />
<img src="logoAndImages/bell.png" class="icon" alt="" />
<div class="user-dp">
<img
src="https://yt3.ggpht.com/yti/APfAmoG4CpcObzBR1AeAwQva04Vk_ScZ6xa4GdonchhT=s88-c-k-c0x00ffffff-no-rj-mo"
alt=""
/>
</div>
</div>
</nav>
<!-- <-------------- ending of navbar -------------->
-->
<!-- <-------------- starting of sidebar -------------->
-->
<div class="side-bar">
<a href="index.html" class="links active"
><img src="logoAndImages/home.png" alt="" />Home</a
>
<a href="index.html" class="links"
><img src="logoAndImages/explore.png" alt="" />Explore</a
>
<a href="index.html" class="links"
><img src="logoAndImages/subscription.png" alt="" />Subscription</a
>
<hr />
<a href="index.html" class="links"
><img src="logoAndImages/history.png" alt="" />History</a
>
<a href="index.html" class="links"
><img src="logoAndImages/your-video.png" alt="" />Your Videos</a
>
<a href="index.html" class="links"
><img src="logoAndImages/show more.png" alt="" />Show More</a
>
<hr />
</div>
<!-- <-------------- ending of sidebar -------------->
-->
<!-- <-------------- start of fliters -------------->
-->
<div class="filters">
<button onclick="trending()" class="fliter-options active">All</button>
<button onclick="search()" class="fliter-options">JavaScript</button>
<button onclick="search()" class="fliter-options">Bollywood Music</button>
<button onclick="trending()" class="fliter-options">
Indian Pop Music
</button>
<button onclick="search()" class="fliter-options">Scene</button>
<button onclick="search()" class="fliter-options">Doctor Strange</button>
<button onclick="search()" class="fliter-options">Web Series</button>
<button onclick="trending()" class="fliter-options">Trialers</button>
<button onclick="search()" class="fliter-options">Comedy Food</button>
<button onclick="search()" class="fliter-options">Live</button>
<button onclick="trending()" class="fliter-options">Gaming</button>
</div>
<div id="videosResults"></div>
</body>
</html>
<script src="Youtube.js"></script>