Skip to content

Commit

Permalink
added index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
pasapuroshini authored Feb 27, 2024
1 parent 048a3cf commit 7519351
Show file tree
Hide file tree
Showing 3 changed files with 918 additions and 0 deletions.
372 changes: 372 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,372 @@
<html>
<head>
<meta name="description" content="Hello this is my first web page!." />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"

/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"
/>
<title>Netflix India - Watch TV Shows Online, Watch Movies Online</title>
<link
rel="icon"
href="http://pngimg.com/uploads/netflix/small/netflix_PNG15.png"
/>
</head>
<body>
<header>
<nav class="navbar">
<div class="navbarfirst">
<img
src="https://www.freepnglogos.com/uploads/netflix-logo-0.png"
alt="logo"
class="netflixlogo"
/>
</div>

<div class="navbarnavitems">
<div class="navitem">
<div class="dropdowncontainer">
<i class="fas fa-globe"></i>
<select
name="languages"
id="languagesSelect"
class="languagedropdown"
>
<option value="english" selected style="color: black;">English</option>
<option value="hindi" style="color: black;">हिन्दी</option>
</select>
</div>
</div>

<div class="navitem">
<button class="signinbutton">Sign in</button>
</div>
</div>
</nav>
</header>

<main>
<section class="hero">
<div class="herobgimagecontainer">
<img
src="https://assets.nflxext.com/ffe/siteui/vlv3/9c5457b8-9ab0-4a04-9fc1-e608d5670f1a/710d74e0-7158-408e-8d9b-23c219dee5df/IN-en-20210719-popsignuptwoweeks-perspective_alpha_website_small.jpg"
alt="BG hero image"
class="herobgimage"
/>
</div>
<div class="herobgoverlay"></div>

<div class="herocard">
<h1 class="herotitle">
Unlimited Movies TV,<br />
Shows and More.
</h1>
<p class="herosubtitle">Watch anywhere and cancel anytime.</p>
<p class="herodescription">
Ready to watch? Enter your email to create or restart your
membership .
</p>

<div class="emailformcontainer">
<div class="formcontainer">
<input type="email" class="emailinput" placeholder=" " />
<label class="emaillabel">Email Address</label>
</div>
<button class="primarybutton">
Get Started <i class="fal fa-chevron-right"></i>
</button>
</div>
</div>
</section>
<section class="featurescontainer">
<!-- Feature 1 -->
<div class="feature">
<div class="featuredetails">
<h3 class="featuretitle">Enjoy on your TV.</h3>
<h5 class="featuresubtitle">
Watch on smart TVs, PlayStation, Xbox, Chromecast, Apple TV,
Blu-ray players and more.
</h5>
</div>
<div class="featureimagecontainer">
<img
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/tv.png"
alt="Feature image"
class="featureimage"
/>
<div class="featurebackgroudvideocontainer">
<video
autoplay=""
loop=""
muted=""
class="featurebackgroudvideo"
>
<source
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/video-tv-in-0819.m4v"
type="video/mp4"
/>
</video>
</div>
</div>
</div>
<!-- Feature 2 -->
<div class="feature">
<div class="featuredetails">
<h3 class="featuretitle">
Download your shows to watch offline.
</h3>
<h5 class="featuresubtitle">
Save your favourites easily and always have something to watch.
</h5>
</div>
<div class="featureimagecontainer">
<img
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/mobile-0819.jpg"
alt="Feature image"
class="featureimage"
/>
<div class="feature2postercontainer">
<div class="postercontainer">
<img
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/boxshot.png"
alt="poster"
class="poster"
/>
</div>
<div class="posterdetails">
<h4>Stranger Things</h4>
<h6>Downloading...</h6>
</div>
<div class="downloadgifcontainer">
<img
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/download-icon.gif"
alt="downloading gif"
class="gif"
/>
</div>
</div>
</div>
</div>
<!-- Feature 3 -->
<div class="feature">
<div class="featuredetails">
<h3 class="featuretitle">Watch everywhere.</h3>
<h5 class="featuresubtitle">
Stream unlimited movies and TV shows on your phone, tablet,
laptop, and TV.
</h5>
</div>
<div class="featureimagecontainer feature3imagecontainer">
<img
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/device-pile-in.png"
alt="Feature image"
class="featureimage feature3image"
/>
<div
class="featurebackgroudvideocontainer feature3backgroudvideocontainer"
>
<video
autoplay=""
loop=""
muted=""
class="featurebackgroudvideo feature3backgroudvideo"
>
<source
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/video-devices-in.m4v"
type="video/mp4"
/>
</video>
</div>
</div>
</div>
<!-- Feature 4 -->
<div class="feature">
<div class="featuredetails">
<h3 class="featuretitle">Create profiles for children.</h3>
<h5 class="featuresubtitle">
Send children on adventures with their favourite characters in a
space made just for them—free with your membership.
</h5>
</div>
<div class="featureimagecontainer">
<img
src="https://occ-0-4023-2164.1.nflxso.net/dnm/api/v6/19OhWN2dO19C9txTON9tvTFtefw/AAAABVxdX2WnFSp49eXb1do0euaj-F8upNImjofE77XStKhf5kUHG94DPlTiGYqPeYNtiox-82NWEK0Ls3CnLe3WWClGdiJP.png?r=5cf"
alt="Feature image"
class="featureimage"
/>
</div>
</div>
</section>
<section class="FAQlistcontainer">
<h1 class="FAQheading">Frequently Asked Questions</h1>
<div class="FAQlist">
<div class="FAQaccordian">
<button class="FAQtitle">
What is Netflix?<i class="fal fa-plus"></i>
</button>
<div class="FAQvisible">
<p>
Netflix is a streaming service that offers a wide variety of
award-winning TV shows, movies, anime, documentaries and more –
on thousands of internet-connected devices.
</p>
<p>
You can watch as much as you want, whenever you want, without a
single ad – all for one low monthly price. There's always
something new to discover, and new TV shows and movies are added
every week!
</p>
</div>
</div>
<div class="FAQaccordian">
<button class="FAQtitle">
How much does netflix cost?<i class="fal fa-plus"></i>
</button>
<div class="FAQvisible">
<p>
Watch Netflix on your smartphone, tablet, Smart TV, laptop, or
streaming device, all for one fixed monthly fee. Plans range
from ₹ 199 to ₹ 799 a month. No extra costs, no contracts.
</p>
</div>
</div>
<div class="FAQaccordian">
<button class="FAQtitle">
Where can i watch?<i class="fal fa-plus"></i>
</button>
<div class="FAQvisible">
<p>
Watch anywhere, anytime, on an unlimited number of devices. Sign
in with your Netflix account to watch instantly on the web at
netflix.com from your personal computer or on any
internet-connected device that offers the Netflix app, including
smart TVs, smartphones, tablets, streaming media players and
game consoles.
</p>
<p>
You can also download your favourite shows with the iOS,
Android, or Windows 10 app. Use downloads to watch while you're
on the go and without an internet connection. Take Netflix with
you anywhere.
</p>
</div>
</div>
<div class="FAQaccordian">
<button class="FAQtitle">
How do I cancel?<i class="fal fa-plus"></i>
</button>
<div class="FAQvisible">
<p>
Netflix is flexible. There are no annoying contracts and no
commitments. You can easily cancel your account online in two
clicks. There are no cancellation fees – start or stop your
account anytime.
</p>
</div>
</div>
<div class="FAQaccordian">
<button class="FAQtitle">
What can I watch from Netflix?<i class="fal fa-plus"></i>
</button>
<div class="FAQvisible">
<p>
Netflix has an extensive library of feature films,
documentaries, TV shows, anime, award-winning Netflix originals,
and more. Watch as much as you want, anytime you want.
</p>
</div>
</div>
<div class="FAQaccordian">
<button class="FAQtitle">
Is Netflix good for kids?<i class="fal fa-plus"></i>
</button>
<div class="FAQvisible">
<p>
The Netflix Kids experience is included in your membership to
give parents control while kids enjoy family-friendly TV shows
and films in their own space.
</p>
<p>
Kids profiles come with PIN-protected parental controls that let
you restrict the maturity rating of content kids can watch and
block specific titles you don’t want kids to see.
</p>
</div>
</div>
</div>
<div class="FAQgetstartedemail">
<h3>
Ready to watch? Enter your email to create or restart your
membership.
</h3>
<div class="emailformcontainer">
<div class="formcontainer">
<input type="email" class="emailinput" placeholder=" " />
<label class="emaillabel">Email Address</label>
</div>
<button class="primarybutton">
Get Started <i class="fal fa-chevron-right"></i>
</button>
</div>
</div>
</section>
</main>

<footer>
<div class="footerrow1">
<h4>Questions? Call 000-800-040-1843</h4>
</div>
<div class="footerrow2">
<div class="column1">
<p>FAQ</p>
<p>Investor Relations</p>
<p>Privacy</p>
<p>Speed Test</p>
</div>
<div class="column2">
<p>Help Centre</p>
<p>Jobs</p>
<p>Cookie Preferences</p>
<p>Legal Notices</p>
</div>
<div class="column3">
<p>Account</p>
<p>Ways to Watch</p>
<p>Corporate Information</p>
<p>Only on Netflix</p>
</div>
<div class="column4">
<p>Media Centre</p>
<p>Terms of Use</p>
<p>Contact Us</p>
</div>
</div>
<div class="footerrow3">
<div class="dropdowncontainer">
<i class="fas fa-globe"></i>
<select
name="languages"
id="languagesSelect"
class="languagedropdown"
>
<option value="english" selected>English</option>
<option value="hindi">हिन्दी</option>
</select>
</div>
</div>
<div class="footerrow4">
<p>Netflix India</p>
</div>
</footer>

<script src="index.js"></script>
</body>
</html>
20 changes: 20 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
let accordian = document.getElementsByClassName("FAQtitle");

for (let i = 0; i < accordian.length; i++) {
accordian[i].addEventListener("click", function () {
if (this.childNodes[1].classList.contains("fa-plus")) {
this.childNodes[1].classList.remove("fa-plus");
this.childNodes[1].classList.add("fa-times");
} else {
this.childNodes[1].classList.remove("fa-times");
this.childNodes[1].classList.add("fa-plus");
}

let content = this.nextElementSibling;
if (content.style.maxHeight) {
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
}
Loading

0 comments on commit 7519351

Please sign in to comment.