The project is made up of three pages you can explore immediately after setup: the main home page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Vipul-Gejage/Disney-Hotstar-Clone/llms.txt
Use this file to discover all available pages before exploring further.
Hotstar.html), the login page (login.html), and the OTP verification page (otp.html). Each page is a standalone HTML file — no server-side logic runs, and navigation between pages is handled by simple onclick redirects in the JavaScript.
Page Overview
Hotstar.html
The main home page. Features the auto-advancing hero carousel, franchise video cards, and two scrollable movie rows.
login.html
The login page. Enter a mobile number and click Generate OTP to navigate to the OTP page.
otp.html
The OTP verification page. Enter your OTP and click Submit OTP to return to the home page.
Walkthrough
Open Hotstar.html in your browser
Double-click Then visit http://localhost:8000/Hotstar.html.The page loads with a fixed dark navbar at the top containing the Disney+ Hotstar logo, navigation links (TV, Movies, Sports, Premium), a search box, a Subscribe button, and a Login link.
Hotstar.html to open it directly, or navigate to it via your local server:Watch the hero carousel auto-advance
The hero carousel starts automatically as soon as the page loads. It cycles through five feature slides — Loki, The Falcon and the Winter Soldier, WandaVision, Raya, and Luca — advancing every 3 000 ms (3 seconds).The transition is a smooth horizontal When the last slide is reached, the carousel resets to the first slide without a visible jump by momentarily removing the CSS transition.
translateX slide:Hover over franchise cards to play preview videos
Below the carousel you’ll find five franchise cards: Disney, Pixar, Marvel, Star Wars, and Nat Geo. Each card shows a static logo image by default. Hovering your mouse over a card triggers the corresponding The video files are
<video> element to play (muted, looping); moving your mouse away pauses it.disney.mp4, pixar.mp4, marvel.mp4, star-war.mp4, and geographic.mp4, all stored in the videos/ folder.Scroll through Latest Releases and Recommended For You
Two horizontal movie rows sit below the franchise cards:
- Latest Releases — ten titles including Mission Mangal, The Night Manager, IB71, and others.
- Recommended For You — ten titles including Loki, Mulan, Avengers, Thor, and others.
Add a title to your watchlist
Every movie card has an Add to watchlist button. Clicking it calls Click Close (or call
showFullscreenAlert(), which dynamically creates a full-screen overlay with a fade-in effect:closeFullscreenAlert()) to fade the overlay out and remove it from the DOM.Navigate to the login page
Click the Login link in the top-right corner of the navbar. The anchor tag points directly to You can also open
./login.html:login.html directly in your browser.Enter a mobile number and generate an OTP
On the login page, type any mobile number into the Mobile Number field and click Generate OTP. The button’s
onclick handler immediately redirects to otp.html:Browser Compatibility
| Browser | Supported |
|---|---|
| Google Chrome | ✅ |
| Mozilla Firefox | ✅ |
| Microsoft Edge | ✅ |
| Apple Safari | ✅ |
| Internet Explorer | ❌ |