Pages

Tuesday, May 12, 2020

The Responsive Navbar and Header








The project-1,video-2 . The video about Responsive Navbar and Heaer section. Video link:https://youtu.be/LHWSbTvGk8Y
Here the HTML code: "
<html lang="en">
<head>
    <meta charset="utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta content="" name="description"/>
    <meta content="" name="author"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title> Web Jogot  </title>

<link rel="icon" type="image/png" href="img/logo.png">


 
  <link href="css/bootstrap.min.css" rel="stylesheet">

  <link href="css/font-awesome.min.css" type="text/css" rel="stylesheet">

  <link href="css/sb-admin.css" rel="stylesheet">
  <link href="css/dataTables.bootstrap4.css" rel="stylesheet">
  <link href="css/parsley.css" type="text/css" rel="stylesheet">
  <link href="css/bootstrap-datepicker.css" type="text/css" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,900&display=swap" rel="stylesheet">
</head>
<body>

 <!-- navbar -->
  <nav style="background-color: rgba(86, 71, 219);" class="navbar navbar-expand-lg navbar-light fixed-top nav-bg shadow-lg">
    <div class="container">
   
          <img src="img/logo.png" height="50px" alt="">
          <a  style="color: white; font-weight: 900;font-family: Arial, Helvetica, sans-serif;" class="navbar-brand " href="index.html"> Web Jogot </a>
   
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
      <span class="navbar-toggler-icon"></span>
    </button>
  
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
    
    <ul class="navbar-nav ml-auto">
        <li class="nav-item"> 
          <a  style="color: white; font-weight: 500; font-family: Arial, Helvetica, sans-serif;" class="nav-link" href="index.html">Home</a>
        </li>
        <li class="nav-item">
          <a  style="color: white; font-weight: 500; font-family: Arial, Helvetica, sans-serif;" class="nav-link" href="about.html">About</a>
        </li>
         <li class="nav-item">
          <a  style="color: white; font-weight: 500; font-family: Arial, Helvetica, sans-serif;" class="nav-link" href="contact.html">Contact</a>
        </li>
    </ul>
    </div>

    </div>
</nav>
<!-- nav end -->

<!-- header start -->

<div class="jumbotron mt-5">
   <h1 class="display-4"> Welcome to webjogot</h1>
   <p class="lead"> Lorem,  quam atque autem quia repellnt? </p>
    <hr class="my-4">
    <a class="btn btn-primary btn-lg" href="#"> Learn more</a>
</div>

<!-- header end -->

  
  <script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/parslay.min.js"></script>
<script src="js/jquery.dataTables.js"></script>
<script src="js/dataTables.bootstrap4.js"></script>
<script src="js/sb-admin.min.js"></script>
<script src="js/sb-admin-datatables.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/bootstrap-datepicker.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/select2@4.0.12/dist/js/select2.min.js"></script>

</body>
</html>"

No comments:

Post a Comment