A responsive Netflix landing page clone built with HTML, CSS, and vanilla JavaScript. It mirrors Netflix’s hero section, email signup form, interactive tabs, and pricing table.
- Hero section with background image, headline, subtext, and email form (
index.html,style.css). - Interactive tabs: Cancel Anytime, Watch Anywhere, Pick Your Price (
script.js). - Pricing table with plan comparisons.
- Responsive design using CSS Grid/Flex and media queries.
- CDNs for Google Fonts and Font Awesome icons.
- HTML5 for structure
- CSS3 for layout, responsiveness, and styling
- JavaScript (ES6) for tab interaction
Netflix Clone/
├── index.html
├── style.css
├── script.js
└── public/
├── Netflix_Logo_RGB.png
├── bg.jpg
├── cancel-anytime.png
├── content-1.png
├── content-2.png
└── content-3.png
- Run locally: Open
index.htmlin any modern browser. - No build step or server is required.
- Tabs
- Tab triggers: elements with class
tab-itemand idstab-1,tab-2,tab-3inindex.html. - Tab content containers:
#tab-1-content,#tab-2-content,#tab-3-content. script.jsregisters click listeners on.tab-item. On click, it:- Removes
tab-borderfrom all tabs andshowfrom all content sections (removeBorder(),removeShow()). - Adds
tab-borderto the clicked tab. - Shows the matching content by id mapping:
${tab.id}-content, then addsshowto display.
- Removes
- Tab triggers: elements with class
- Styling
- Key variables:
--primary-color,--dark-colorinstyle.css. - Responsive tweaks via media queries at
960pxand700pxbreakpoints. - Background overlay and hero layout controlled by
.showcaseand.showcase::after.
- Key variables:
- Replace images under
public/with your own assets. - Update copy in
index.html(hero text, pricing rows, footer links). - Adjust colors in
:rootwithinstyle.css.
- Icons via Font Awesome CDN
- Fonts via Google Fonts (Poppins)
This project is for learning and portfolio purposes. No affiliation with Netflix.


