<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="utf-8" />
    <title>Bootstrap, from Twitter</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <!-- Le styles -->
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.1/css/bootstrap.min.css" rel="stylesheet">
    <style>
      body {
        padding-top: 60px;
      }
      @media (max-width: 979px) {

        /* Remove any padding from the body */
        body {
          padding-top: 0;
        }
      }
    </style>
    <link href="style.css" rel="stylesheet" />
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="images/favicon.ico" />
    <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
    <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png" />
    <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png" />
    <!-- Le javascript
    ================================================== -->
    <script data-require="jquery" data-semver="2.0.3" src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
    <script data-require="bootstrap" data-semver="3.0.0" src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
    <script src="script.js"></script>
  </head>

  <body>
    <div class="container">
      <nav class="navbar navbar-default" role="navigation">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#!/">Example.com</a>
        </div>
      
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
            <li><a href="#!/about">About</a></li>
            <li><a href="#!/contacts">Contacts</a></li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </nav>
      <section>
        <a name="!/"></a>
        <h1>Example.com</h1>
        <p>Some information about this site.</p>
      </section>
      <section>
        <a name="!/about"></a>
        <h1>About Me</h1>
        <p>Some information about myself</p>
      </section>
      <section>
        <a name="!/contacts"></a>
        <h1>Contacts</h1>
        <form onsubmit="return false;">
          <div class="form-group">
            <input type="email" placeholder="Your Email" required class="form-control" />
          </div>
           <div class="form-group">
            <input type="text" placeholder="Your Name" required class="form-control" />
          </div>
           <div class="form-group">
            <textarea placeholder="Your Message" required class="form-control" style="height: 100px;"></textarea>
          </div>
          <div class="well well-sm"><input type="submit" class="btn btn-primary" value="Send" /></div>
        </form>
      </section>
    </div>
  </body>

</html>
(function ($, window, undefined) {
  
  var $sections, $nav;
      
  $(function () {
      $sections = $('section'),
      $nav = $('ul.nav');
      
      window.addEventListener('hashchange', hashChangeCallback, false);
      location.hash = '!/';
  })
  
  function hashChangeCallback () {
      if (/^\#\!/.test(location.hash)) {
        var route = location.hash.substr(2),
            anchor = $('a[name="!' + route + '"]');
        if (anchor.length) {
          $('li.active', $nav).removeClass('active');
          $('li:has(a[href="#!'+route+'"])', $nav).addClass('active');
          $sections.hide();
          anchor.closest('section').show();
        }
      }
  }
  
  
  
}(window.jQuery, window))
/* Put your css in here */