-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
220 lines (217 loc) · 7.63 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!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" />
<link rel="stylesheet" href="style.css" />
<title>Netlix - Watch TV Shows Online, Watch Movies Online</title>
<script
src="https://kit.fontawesome.com/af77b70b36.js"
crossorigin="anonymous"
></script>
</head>
<body>
<header class="showcase">
<div class="showcase-top">
<img src="logo.png" alt="Netflix" />
<a href="#" class="btn btn-rounded"> Sign In </a>
</div>
<div class="showcase-content">
<h1>See what's next</h1>
<p>Watch anywhere. Cancel anytime</p>
<a href="#" class="btn btn-xl">
Watch Free For 30 Days <i class="fas fa-chevron-right btn-icon"></i>
</a>
</div>
</header>
<section class="tabs">
<div class="container">
<div id="tab-1" class="tab-item tab-border">
<i class="fas fa-door-open fa-3x"></i>
<p class="hide-sm">Cancel anytime</p>
</div>
<div id="tab-2" class="tab-item">
<i class="fas fa-tablet-alt fa-3x"></i>
<p class="hide-sm">Watch anywhere</p>
</div>
<div id="tab-3" class="tab-item">
<i class="fas fa-tags fa-3x"></i>
<p class="hide-sm">Pick your price</p>
</div>
</div>
</section>
<section class="tab-content">
<div class="container">
<!-- Tab content 1 -->
<div id="tab-1-content" class="tab-content-item show">
<div class="tab-1-content-inner">
<div>
<p class="text-lg">
If you decide Netflix isn't for you - no problem. No commitment.
Cancel online anytime.
</p>
<a href="#" class="btn btn-lg">Watch Free For 30 Days</a>
</div>
<img src="tab-content-1.png" alt="" />
</div>
</div>
<!-- Tab 2 Content -->
<div id="tab-2-content" class="tab-content-item">
<div class="tab-2-content-top">
<p class="text-lg">
Watch TV shows and movies anytime, anywhere - personalized for
you.
</p>
<a href="" class="btn btn-lg">Watch free for 30 days</a>
</div>
<div class="tab-2-content-bottom">
<div>
<img src="tab-content-2-1.png" alt="" />
<p class="text-md">Watch on your TV</p>
<p class="text-dark">
Smart TVs, PlayStation, Xbox, Chromecase, Apple TV, Blu-ray
players and more.
</p>
</div>
<div>
<img src="tab-content-2-2.png" alt="" />
<p class="text-md">Watch instantly or download for later</p>
<p class="text-dark">
Available on phone and tablet, wherever you go.
</p>
</div>
<div>
<img src="tab-content-2-3.png" alt="" />
<p class="text-md">Use any computer</p>
<p class="text-dark">Watch right on Netlix.com</p>
</div>
</div>
</div>
<!-- Tab 3 content -->
<div id="tab-3-content" class="tab-content-item">
<div class="text-center">
<p class="text-lg">
Choose one plan and watch everything on Netflix
</p>
<a href="#" class="btn btn-lg">Watch Free For 30 days</a>
</div>
<table class="table">
<thead>
<tr>
<th></th>
<th>Basic</th>
<th>Standard</th>
<th>Premium</th>
</tr>
</thead>
<tbody>
<tr>
<td>Monthly price after free month ends on dd-mm-yy</td>
<td>$8.99</td>
<td>$12.99</td>
<td>$15.99</td>
</tr>
<tr>
<td>HD Available</td>
<td><i class="fas fa-times"></i></td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
</tr>
<tr>
<td>Ultra HD Available</td>
<td><i class="fas fa-times"></i></td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
</tr>
<tr>
<td>Screens you can watch on at the same time</td>
<td>1</td>
<td>2</td>
<td>4</td>
</tr>
<tr>
<td>Watch on your laptop, TV, phone and tablet</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
</tr>
<tr>
<td>Unlimited movies and TV shows</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
</tr>
<tr>
<td>Cancel anytime</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
</tr>
<tr>
<td>First month free</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<footer class="footer">
<p>Questions? Call 1-866-579-7172</p>
<div class="footer-cols">
<ul>
<li><a href="#"></a>FAQ</li>
<li><a href="#"></a>Investor Relations</li>
<li><a href="#"></a>Ways To Watch</li>
<li><a href="#"></a>Corporate Information</li>
<li><a href="#"></a>Netflix Originals</li>
</ul>
<ul>
<li><a href="#"></a>Help Center</li>
<li><a href="#"></a>Jobs</li>
<li><a href="#"></a>Terms Of Use</li>
<li><a href="#"></a>Contact Us</li>
</ul>
<ul>
<li><a href="#"></a>Account</li>
<li><a href="#"></a>Redeem Gift Cards</li>
<li><a href="#"></a>Privacy</li>
<li><a href="#"></a>Speed Test</li>
</ul>
<ul>
<li><a href="#"></a>Media Center</li>
<li><a href="#"></a>Buy Gift Cards</li>
<li><a href="#"></a>Cookie Preferences</li>
<li><a href="#"></a>Legal Notices</li>
</ul>
</div>
</footer>
</body>
</html>
<script>
const tabItems = document.querySelectorAll(".tab-item");
const tabContentItems = document.querySelectorAll(".tab-content-item");
function selectItem(e) {
removeBorder();
removeShow();
this.classList.add("tab-border");
const tabContentItem = document.querySelector(`#${this.id}-content`);
tabContentItem.classList.add("show");
}
function removeBorder() {
tabItems.forEach((item) => {
item.classList.remove("tab-border");
});
}
function removeShow() {
tabContentItems.forEach((item) => {
item.classList.remove("show");
});
}
tabItems.forEach((item) => {
item.addEventListener("click", selectItem);
});
</script>