how to create an accordion using HTML only
//Accordion based on my Netflix
//feel free to change the css as per your desire :)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Netflix-Accordion</title>
<link rel="stylesheet" type="text/css" href="stylesheet1.css">
</head>
<body>
<div class="introduction">
<p><h2>Hello guys, this is your guy Kinsley.</h2></p>
</div>
<div class="wrapper-container">
<div class="wrapper">
<input type="checkbox" id="title1">
<label for="title1">What is Netflix</label>
<div class="content">
<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.
You can watch as much as you want, whenever you want without a single commercial – 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>
<input type="checkbox" id="title2">
<label for="title2">How much does Netflix cost?</label>
<div class="content">
<p>Watch Netflix on your smartphone, tablet, Smart TV, laptop, or streaming device, all for one fixed monthly fee. Plans range from Ksh 700 to Ksh 1,450 a month. No extra costs, no contracts.</p>
</div>
<input type="checkbox" id="title3">
<label for="title3">Where can I watch?</label>
<div class="content">
<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.
You can also download your favorite 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>
<input type="checkbox" id="title4">
<label for="title4">How do I cancel?</label>
<div class="content">
<p>Netflix is flexible. There are no pesky 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>
<input type="checkbox" id="title5">
<label for="title5">What can I watch on Netflix?</label>
<div class="content">
<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>
<input type="checkbox" id="title6">
<label for="title6">Is Netflix good for kids?</label>
<div class="content">
<p>The Netflix Kids experience is included in your membership to give parents control while kids enjoy family-friendly TV shows and movies in their own space.
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>
</body>
</html>