Treehouse Framework Basics

In this example below you will see how to do a Treehouse Framework Basics with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by -J0hn-, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright -J0hn- ©

Technologies

  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Treehouse Framework Basics</title>
  
  
  <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'>

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

  
</head>

<body>

  <body>
  <!--NAVBAR-->
  <nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Ribbit</a>
    </div>
    <div class="collapse navbar-collapse" id="myNavbar">
      <ul class="nav navbar-nav navbar-right">
        <li class="active"><a href="#">Home</a></li>
        
        <li><a href="#">About Ribbit</a></li>
        <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Treehouse <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">About Treehouse</a></li>
            <li><a href="#">Video Library</a></li>
            <li><a href="#">Learning Adventures</a></li>
            <li class="divider"></li>
            <li><a href="#">Plans &amp; Pricing</a></li>
          </ul>
        </li>
      </ul>
      
    </div>
  </div>
</nav>
  <!--NAVBAR END-->
  
  <!--CAROUSEL-->
  <div id="myCarousel" class="carousel slide jumbotron" data-ride="carousel">
    <div class="container">
      <ol class="carousel-indicators">
        <li class="active" data-target="#myCarousel" data-slide-to="0"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
      </ol>
      <div class="carousel-inner">
        
        <div class="item active">
          <h1>Self-destructing message app</h1>
        <p class="lead">Learn how to build this fun little app by signing up for a Treehouse account today! We'll teach you how to build both apps from scratch!</p>
        <p class="btn-group">
          <a class="btn btn-success btn-lg" href="#">Download the app</a>
          <a class="btn btn-default btn-lg hidden-xs" href="#" data-toggle="modal" data-target="#Modal">Text me the link</a>
        </p>
        </div>
        
        <div class="item">
          <h1>Learn how to build it for iOS</h1>
              <p class="lead">We'll teach you how to build it from scratch!</p>
              <p><a class="btn btn-success btn-lg" href="#">Get started today!</a></p>
        </div>
        
        <div class="item">
          <h1>Learn how to build it for Android</h1>
              <p class="lead">We'll teach you how to build it from scratch!</p>
              <p><a class="btn btn-success btn-lg" href="#">Get started today!</a></p>
        </div>
        
      </div>
    </div>
    <a class="left carousel-control" href="myCarousel" data-slide="prev"><span class="icon-prev"></span></a>
    <a class="right carousel-control" href="myCarousel" data-slide="next"><span class="icon-next"></span></a>
  </div>
  <!--CAROUSEL END-->
  
  <!--MODAL-->
  <div id="Modal" class="modal fade" role ="dialog">
    <div class="modal-dialog">
      
      <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">We'll text you the link!</h4>
      </div>
      <div class="modal-body">
        <form class="form-inline">
          <div class="form-group">
            <label class="sr-only" for="mobilePhone">Mobile Phone</label>
            <input type="tel" class="form-control" id="mobilePhone" placeholder="Mobile Phone">
          </div>
          <div class="form-group">
            <select class="form-control">
              <option>iOS</option>
              <option>Android</option>
            </select>
          </div>
          <button type="submit" class="btn btn-primary" data-dismiss="modal">Send me link</button>
        </form>
      </div>
<!--       <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div> -->
      </div>
      
    </div>
  </div>
  <!--MODAL END-->
  
    <div class="container">
      
      <div class="row">
        <div class="col-sm-4">
          <i class="glyphicon glyphicon-camera"></i>
          <h2>Delete photo &amp; video based on a timer</h2>
          <p>Learn how to write the code that downloads and displays messages, photos and videos that timeout after a few seconds. Then create a code that deletes them from the back-end to make them "self destruct."</p>
        </div>
        
        <div class="col-sm-4">
          <i class="glyphicon glyphicon-user"></i>
          <h2>Build an easily managed friends list</h2>
          <p>Learn what Parse.com offers as a "backend-as-a-service" platform. Explore the user account management API's provided by Parse.com and write the code to create and save a new user in a Parse.com data store.</p>
        </div>
        
        <div class="col-sm-4 ">
          <i class="glyphicon glyphicon-cloud"></i>
          <h2>Store &amp; retireve data using cloud servers</h2>
          <p>We'll teach you how to images, video files, and messages to Parse.com's cloud servers. Then learn how to retrieve the data by setting up custom queries that download and display them in the app.</p>
        </div>
      </div>
      <hr>
      
      <div class="row">
        <div class="col-sm-6 hidden-xs">
          <h3>Learn how to make this app</h3>
          <p>We will build on the concepts learned in previous iOS projects to create an app that will allow users to send photo or video messages to other users that will be deleted once viewed.</p>
        
                    <div class="row">
            <div class="col-sm-6 col-md-push-6">
              <img class="img-responsive" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/283425/thumb_ribbit.jpg">
            </div>
            <div class="col-sm-6 col-md-pull-6">
              <p>Get access to these courses for only $24 a month!</p>
              <a href="#">Visit Treehouse Now &raquo;</a>
            </div>
          </div>
          
        </div>
        
        <div class="col-sm-6">
          <h3>About Treehouse</h3>
          <p>Treehouse provides an extensive library of step-by-step video courses and training exercises that will give you a wide range of in-demand technology skills that will help you land your next dream job.</p>
          <a href="#">Sign up for Treehouse &raquo;</a>
        </div>
      </div>

      <hr>
      
      <div>
        <p>&copy; 2013 Ribbit - By Treehouse Island, Inc.</p>
      </div>
    </div>
  </body>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js'></script>

  

</body>

</html>

/*Downloaded from https://www.codeseek.co/-J0hn-/treehouse-framework-basics-gLgMxL */

/* LAYOUT */
body{
  padding-top:50px;
}
/* CONTAINER */
.container{
  max-width:1000px;
}
/* JUMBOTRON */
.jumbotron{
  text-align:center;
}
/* GLYPHICONS */
.glyphicon{
  font-size:3em;
  display:block;
  text-align:center;
  color:#3a87ad;
}
/* CAROUSEL */
.carousel-indicators{
  bottom:0;
}
.carousel-indicators .active{
  background-color:#222;
}
.carousel-indicators li{
  border-color:#222;
}

Comments