Skip to main content

How To Make Clone NETFLIX Webpage

 How To Make Clone NETFLIX Webpage......

With the Help of HTML CSS and JAVASCRIPT...

<!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">
    <title>Netflix Clone</title>
    <script src="https://kit.fontawesome.com/a02bd9801f.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
   
    <style>
        body{
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.546) url('nn.jpg');
            background-blend-mode: darken;
            background-size: cover;
        }
        .container{
            /* border: 1px solid red; */
            width: 400px;
            margin-top: 100px;
            padding: 30px 50px;
            color: white;
            background: rgba(0, 0, 0, 0.744);
            background-blend-mode: darken;
           
           
        }
        input{
            width: 93%;
            padding: 15px;
            margin-bottom: 30px;
            border: none;
            color: white;
            background: rgba(128, 128, 128, 0.313);
            border-radius: 5px;
        }
      .btn{
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            border: none;
            background-color: red;
            color:white ;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
        }

        #pr{
            margin-top: 60px;
        }
        .popup{
            width: 420px;
            background: rgb(0, 0, 0);
            background-blend-mode: darken;
            border-radius: 6px;
            position: absolute;
            top:0;
            left: 50%;
            transform: translate(-50%,-50%) scale(0.1);
            text-align: center;
            padding: 10 30px 30px;
            color: white;
            visibility: hidden;
            transition:transform 0.4s, top 0.4s;
            height: 80vh;
            margin-top: 50px;
        }
        .secbtn{
            padding: 10px 30px;
            background-color: red;
            color:white ;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 40px;
            border-radius: 7px;

        }
        .open-popup{
            visibility: visible;
            top: 50%;
            transform: translate(-50%,-50%) scale(1);

        }
        #pp{
            margin-top: 10px;
            padding: 10px;
        }
        h2 i{
            color: red;
            font-size: 15px;
        }
     
    </style>
</head>
<body>
    <div class="container" id="container">
        <h1>Sign In</h1>
        <input type="email" name="name" id="name" placeholder="Email or phone number*">
        <br>
        <input type="password" name="password" id="password" placeholder="Password">
        <br>
        <button type="submit" class="btn" onclick="openpopup()">Sign In</button>
        <table>
            <tr>
                <td><i class="fa fa-check-square" aria-hidden="true"></i> Remember me</td>
                <td style=" width: 276px; text-align: right;">Need help?</td>
            </tr>
        </table>
        <p id="pr">New to Netflix? <a href="#">Sign up now.</a></p>
    </div>
    <div class="popup" id="popup">
        <h2> <i class="bi bi-emoji-heart-eyes"> </i> Thank you</h2>
        <button type="submit"class="secbtn"   onclick="closepopup()"><i class="fa fa-check" aria-hidden="true"></i>   OK</button>
        <br>
        <img src="popup.gif" alt="" width="30%">
        <p id="pp">You have been subscribed sucessfully.Thanks!</p>

    </div>
    <script>
        let popup=document.getElementById("popup");
        function openpopup(){
            popup.classList.add("open-popup");
           
        }
        function closepopup(){
            popup.classList.remove("open-popup");
           
        }
       
    </script>
</body>
</html>

----------output below ----------------


Comments

Popular posts from this blog

What is Web-Development ?

i) Web development refers to the creating, building, and maintaining of websites.  ii) It includes aspects such as web design, web publishing, web programming, and database management. iii)  It is the creation of an application that works over the internet for e.g websites. The word Web Development is made up of two words, that is: Web:  It refers to websites, web pages or anything that works over the internet. Development:  It refers to building the application from scratch.

Use of Switch Case in JAVASCRIPT:

 How to check week day from  week number  ? <! 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" >     < title > Check week day </ title > </ head > < body >     < script >     var a = prompt ( "enter Week Number" );   switch ( a ){     case '1' :         document . write ( "Monday" );         break ;           case '2' :         document . write ( "Tuesday" );         break ;         case '3' :         document . write ( "Wednesday" );         break ;         case '4' : ...