Dave Partner

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cherry Entafield

Pages: [1]
1
Javascript / javascript closure codes
« on: January 07, 2017, 01:44:44 AM »

<html>
   <head>
      <title></title>
   </head>
   <body>
   
      
      <script type="text/javascript">
          //Closure
          //variable scope reminder
          var countnumber = 2
         
           function add(){ return countnumber = countnumber + 1;}
           function somefunction (){return countnumber; }
           add();
           add();
           add();
           document.write(add())
      </script>
   
   </body>
</html>




 ??? 8) ::)

2
HTML / HTML Codes//Tutorials
« on: January 06, 2017, 08:24:24 PM »

<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Tutorial</title>


<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">


<!-- Optional theme -->
<link rel="stylesheet" href="css/bootstrap-theme.min.css">


<!-- Latest compiled and minified JavaScript -->
<script src="js/jquery-slim.min.js"></script>


</head>


<body>
   
<nav class="navbar navbar-default">
      
   <div class="container-fluid">
      <div class="navbar-header">
         <a class="navbar-brand" href="#">Cherry Entafield</a>
      <>
      
      <ul class="nav navbar-nav">
         
         <li> <a href="#"><span class="glyphicon glyphicon-home"></span> Home</a></li>
         <li> <a href="#"> About</a></li>
         <li> <a href="#"><span class="glyphicon glyphicon-telephone"></span> Contact</a></li>
         
         
         <li class="dropdown">
         <a class="dropdown-toggle" data-toggle="dropdown" href="#"> Join<span class="caret"></span></a>
         
         <ul class="dropdown-menu">
            <li> <a href="#"> Join partners</a></li>
            <li> <a href="#"> Join our team</a></li>
            
         <li> <a href="#"> Join Sponsors</a></li>   
            
         </ul>
         </li>
      </ul>
      <ul class="navbar-nav navbar-right">
         <li><a href="#"><span class="glyphicon glyphicon-log-in"></span></a> Login </li>
         
         <li><a href="#"></a> Sign Up </li>
      </ul>
         
   <>
   </nav>
   <br>
   <div class="alert alert-warning">
   <a  href="#" class="close" data-dismiss="alert" aria-label="close">Close</a>
   <p> Login unsuccessful. Please contact Admin</p>
      
   <>
   
   <div class="jumbotron">
       <h1> Welcome to My Great Site</h1>
       <p> Hello there, welcome to my awesomeness with Jumbotron</p>
      
   <>
   
   <div class="row-right">
   <h1> Bootstrap Tables </h1>
   <table class="table table-bordered table-hover table-striped table-responsive">
      <table>
         <tr>
            <th> First Name </th>
            <th> Middle Name </th>
            <th> Last Name </th>
         </tr>
         <tr>
            <td> Cherry </td>
            <td> Entafield </td>
            <td> Greatness </td>
         </tr>
         <tr>
            <td> Cherry </td>
            <td> Entafield </td>
            <td> Greatness </td>
         </tr>
         <tr>
            <td> Cherry </td>
            <td> Entafield </td>
            <td> Greatness </td>
         </tr>
      </table>
   <>
   
   
   <div class="row-right">
      <h1> Bootstrap Images</h1>
      <img src="images/Penguins.jpg" width=200px class=img-circle>
   <>
   <br>
   <h1> Bootstrap Well</h1>
   <div class="well well-sm">
      <p> A well Design</p>
   <>
</body>










</html>






Pages: [1]