HTML YouTube video add Footer add, sign up form create and use modal class 7




index.html

<!DOCTYPE html>
<html>
<head>
    <title>Test</title>

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="style.css">


</head>
<body>



<nav class="navbar navbar-expand-sm bg-dark navbar-dark" id="header">
  <!-- Brand -->
  <a class="navbar-brand" href="#"> <img src="images/logo/1.jpeg" style="width: 80px;height: 40px;"> </a>
  <!-- Links -->
  <ul class="navbar-nav">
    <li class="nav-item">
      <a class="nav-link" href="pages/login_form.html">Login</a>
    </li>
    <li class="nav-item">
     <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">
    Sign UP
  </button>
    </li>

    <!-- Dropdown -->
    <li class="nav-item dropdown" id="dropdown">
      <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
        Dropdown link
      </a>
      <div class="dropdown-menu">
       
        <a class="dropdown-item" href="#">Link 2</a>
        <a class="dropdown-item" href="#">Link 3</a>
      </div>
    </li>
</ul>
</nav>



<div id="slider" class="carousel slide" data-ride="carousel">
    <ul class="carousel-indicators">
    <li data-target="#slider" data-slide-to="0" class="active"></li>
    <li data-target="#slider" data-slide-to="1"></li>
    <li data-target="#slider" data-slide-to="2"></li>
  </ul>

<div class="carousel-inner">

    <div class="carousel-item active">
      <img src="images/444.jpeg" alt="Los Angeles" width="100%" height="500">
      <div class="carousel-caption">
        <h3>My First slide</h3>
        <p>We had such a great time in LA!</p>
      </div>  
    </div>

 <div class="carousel-item">
      <img src="images/222.jpg" alt="Los Angeles" width="100%" height="500">
      <div class="carousel-caption">
        <h3>My Second slide</h3>
        <p>We had such a great time in LA!</p>
      </div>  
    </div>
    <div class="carousel-item">
      <img src="images/index.jpeg" alt="Los Angeles" width="100%" height="500">
      <div class="carousel-caption">
        <h3>My Third slide</h3>
        <p>We had such a great time in LA!</p>
      </div>  
    </div>
   
  </div>

   <a class="carousel-control-prev" href="#slider" data-slide="prev">
    <span class="carousel-control-prev-icon"></span>
  </a>
  <a class="carousel-control-next" href="#slider" data-slide="next">
    <span class="carousel-control-next-icon"></span>
  </a>
</div>


<div class="row">
    <div class="col-md-12" style="background-color: red;height: 100px;">
        <center><h2 style="color: #fff;padding-top: 10px;">Welome</h2></center>
        <p style="text-align: center;color: #ffffff;font-weight: bold;"><i>I am student</i></p>

    </div><!--end col-md-6-->

</div><!--end row-->

<div class="container">
   
    <div class="row">
        <div class="col-md-6" id="notice">
            <h3 >Notice</h3>
            <ul >
                <li><a href="">Notice 1</a></li>
                    <li><a href="">Notice 2</a></li>
                        <li><a href="">Notice 3</a></li>
                            <li><a href="">Notice 4</a></li>
                                <li><a href="">Notice 5</a></li>
            </ul>
        </div>

        <div class="col-md-6" id="notice">
            <h3 >Notice</h3>
            <ul >
                <li><a href="">Notice 1</a></li>
                    <li><a href="">Notice 2</a></li>
                        <li><a href="">Notice 3</a></li>
                            <li><a href="">Notice 4</a></li>
                                <li><a href="">Notice 5</a></li>
            </ul>
        </div>
    </div>

</div>

<div style="background-color: red;">
<div class="container" style="padding: 20px 0 10px 0;">
    <div class="row">
        <div class="col-md-6">
            <img src="images/student2.jpg" width="100%" height="315">
        </div>
        <div class="col-md-6">
             <iframe width="560" height="315" src="https://www.youtube.com/embed/WDl4XN5pUDM?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
        </div>

    </div>
</div>
</div>





  <!-- Button to Open the Modal -->
 

  <!-- The Modal -->
  <div class="modal" id="myModal">
    <div class="modal-dialog">
      <div class="modal-content">
     
        <!-- Modal Header -->
        <div class="modal-header">
          <h4 class="modal-title">Registration form</h4>
          <button type="button" class="close" data-dismiss="modal">&times;</button>
        </div>
       
        <!-- Modal body -->
        <div class="modal-body">
        <form class="form-group">
            <label>First Name</label>
            <input type="text" name="" class="form-control">
            <label>Last Name</label>
            <input type="text" class="form-control">
            <label>Email</label>
            <input type="text" name="" class="form-control">
            <label>Password</label>
            <input type="password" name="" class="form-control" id="password">
          
            <label>Confirm Password</label>
            <input type="password" name="" class="form-control" id="crfpassword">
            <input type="checkbox" onclick="myFunction()">Show Password
            <br>
            <input type="submit" value="Submit" class="btn btn-success">
        </form>
        </div>
       
        <!-- Modal footer -->
        <div class="modal-footer">
          <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
        </div>
       
      </div>
    </div>
  </div>
 
<script>
function myFunction(){
    var data=document.getElementById('password');
    var cdata=document.getElementById('crfpassword');

    if (data.type=="password")  {
     data.type="text";
    }else{
       data.type="password";
    }

    if (cdata.type=="password") {
     cdata.type="text";
    }else{
       cdata.type="password";
    }
}
</script>


<div class="footer">
    <div class="container" style="padding-top: 10px;">
        <div class="row">
            <div class="col-md-4">
                <h3>Address</h3>
                <p>
                    C&B Road, Barishal
                </p>
            </div>

            <div class="col-md-4">
                <h3>Link</h3>
                <a href="#">Education</a>
            </div>

            <div class="col-md-4">
                <h3>Follow on FB</h3>
            </div>
        </div>
      
    </div>
</div>
<footer >
    <p>Copy right &copy; 2019</p>
</footer>


    </div>
</body>
</html>

 

Style.css 

 /*body{
    background-image: url('images/444.jpeg');
    background-repeat:repeat;
    background-size: cover;

}*/
   
    #red{
        background-color: red;
    }
    /*.col-md-6{
        background-color: green;
    }*/
ul {
    list-style-type: none;
}

/*#notice ul li{
    background-color: gray;

}*/



#notice ul{
    padding: 0;margin: 0;
    list-style-type: none;
}
#notice ul li a{
    padding: 5px;
    color: black;
    font-size: 18px;
}
#notice ul li:nth-child(odd){
    background-color:  #bfbfbf;
}
#notice ul li:nth-child(even){
    background-color:  #e6e6e6;
}
#notice ul li:hover{
   background-color:  #ccddff;
}
#header{
    background-color: blue!important;
}
#header ul li a{
    color: #fff;
}
/*#dropdown{
    background-color: blue!important;
}*/
.dropdown-menu{
    background-color: blue!important;
}
marquee{
    color: red;
    font-size: 18px;
}
.footer{
    background-color: gray;
    color: #ffffff;
    height: 200px;
   
}
.footer a{
    color:#ffffff;
}
footer{
    height: 45px;
    background-color: grey;
    color: #fff;
    text-align: center;
}
footer p{
    padding: 5px;
}



For To-Let: Basabaribd.com 

No comments

Powered by Blogger.