Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Bootstrap 4 Basics (Retired) Using Bootstrap Components Using ScrollSpy to Highlight Nav Links

About updates for Bootstrap as of January 2017

I had to use some other ways to achieve what Gil was teaching, because of the updated documents. Some work, some didn't. Anyone can look at the code and see how could it be done with the current updates on Bootstrap?

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>Full Stack Conf</title>
    <!-- bootstrap css -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">

  </head>
  <body id="home" data-spy="scroll" data-target=".navbar" data-offset="100">

<!-- navbar -->
    <nav class="navbar fixed-top navbar-toggleable navbar-inverse bg-primary">

    <div class="container">
      <ul class="nav navbar-nav">
        <li class="nav-item">
          <a class="nav-link" href="#home">Home <span class="sr-only">(current)</span></a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#about">About</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#speakers">Speakers</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#schedule">Schedule</a>
        </li>
      </ul>
      <a class="navbar-brand pull-sm-right mr-0 hidden-xs-down" href="http://teamtreehouse.com">Presented by Treehouse</a>
      </div>
    </nav><!-- /navbar -->

<!-- Jumbotron -->
     <div class="jumbotron jumbotron-fluid bg-info">
      <div class="container text-sm-center pt-4">
        <h1 class="display-2">Full Stack Conf</h1>
        <p class="lead">A one-day conference about all things JavaScript!</p>
        <div class="btn-group mt-3" role="group" aria-label="Basic example">
          <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#register">Register Now</button>
          <a class="btn btn-secondary btn-lg" href="#speakers">See Speakers</a>
        </div>
      </div>
    </div>   

<!-- /Jumbotron -->




     <div class="container pt-4"><!-- about -->
      <div id="about" class="row">
        <div class="col-lg-4 push-lg-4">
          <h3 class="mb-4">About Full Stack Conf</h3>
          <img class="mb-1 img-fluid rounded hidden-xs-down" src="img/pdx.jpg" alt="Portland">
          <p>The beautiful city of Portland, Oregon will be the host city for Full Stack Conf!</p>
          <p>Explore the future of JavaScript with a lineup of industry professionals. Discover new techniques to advance your career as a web developer.</p>
        </div>

        <div class="col-lg-4 pull-lg-4">
          <h3 class="mb-4">Expert Speakers</h3>
          <p>Our expert speaker lineup was just announced, so don't wait too long before grabbing your tickets!</p>
          <p>Want to meet the international JavaScript community and share skills with some of the world's top experts, hackers, and makers? Be the first to know what to expect for the future of JavaScript.</p>
          <p>Full Stack Conf is committed to being inclusive and welcoming for everyone. We look forward to another intensive day of learning and sharing.</p>
        </div>

        <div class="col-lg-4">
          <h3 class="mb-4">What You'll Learn</h3>
          <div class="list-group">
            <a href="#" class="list-group-item"><strong>MongoDB</strong>: NoSQL database</a>
            <a href="#" class="list-group-item"><strong>Angular</strong>: JavaScript framework </a>
            <a href="#" class="list-group-item"><strong>Express</strong>: Framework for Node</a>
            <a href="#" class="list-group-item"><strong>Node.js</strong>: JavaScript environment</a>
            <a href="#" class="list-group-item"><strong>ES2015</strong>: Latest version of JavaScript</a>
            <a href="#" class="list-group-item"><strong>Babel</strong>: JavaScript compiler</a>
          </div>
        </div>
      </div><!-- /about -->

      <!-- speaker -->
       <h1 id="speakers" class="display-4 text-center my-4 text-muted">Speakers</h1>
        <div class="row">
          <div class="col-md-6 col-lg-4">
            <div class="card mb-3">
              <img class="card-img-top img-fluid" src="img/angie.png" alt="Card image cap">
              <div class="card-block">
                <h4 class="card-title">Angie McAngular</h4>
                <p class="card-text">Angie is a web developer and teacher who is passionate about building scalable, data driven web apps, especially ones that address old problems with new ones.</p>
              </div>
            </div>            
          </div>

          <div class="col-md-6 col-lg-4">
            <div class="card mb-3">
              <img class="card-img-top img-fluid" src="img/nodestradamus.png" alt="Card image cap">
              <div class="card-block">
                <h4 class="card-title">NodeStradamus</h4>
                <p class="card-text">"NodeStra" is a software engineer and philosopher trying to leave the world better than he found it. He codes for non-profits, eCommerce, and large-scale web apps.</p>
              </div>
            </div>            
          </div>

          <div class="col-md-6 col-lg-4">
            <div class="card mb-3">
              <img class="card-img-top img-fluid" src="img/ecma.png" alt="Card image cap">
              <div class="card-block">
                <h4 class="card-title">Ecma Scriptnstuff</h4>
                <p class="card-text">Ecma found her passion for computers and programming over 15 years ago. She is excited to introduce people to the wonderful world of JavaScript.</p>
              </div>
            </div>            
          </div>

          <div class="col-md-6 col-lg-4">
            <div class="card mb-3">
              <img class="card-img-top img-fluid" src="img/geo.png" alt="Card image cap">
              <div class="card-block">
                <h4 class="card-title">Geo "Lo" Cation</h4>
                <p class="card-text">Geo is a JavaScript developer working on large-scale applications. He's also a teacher who strives to support students in removing all barriers to learning code.</p>
              </div>
            </div>            
          </div>

          <div class="col-md-6 col-lg-4">
            <div class="card mb-3">
              <img class="card-img-top img-fluid" src="img/jay.png" alt="Card image cap">
              <div class="card-block">
                <h4 class="card-title">Jay Query</h4>
                <p class="card-text">Jay is a developer, author of CSS: The Missing Manual, JavaScript &amp; jQuery: The Missing Manual, and web development teacher.</p>
              </div>
            </div>            
          </div>

          <div class="col-md-6 col-lg-4">
            <div class="card mb-3">
              <img class="card-img-top img-fluid" src="img/json.png" alt="Card image cap">
              <div class="card-block">
                <h4 class="card-title">Json Babel</h4>
                <p class="card-text">All of his professional life, Json has worked with computers online; he is a polyglot programmer and likes using the right tools for the job.</p>
              </div>
            </div>            
          </div>
        </div><!-- /speakers -->


      <!-- schedule -->
       <h1 id="schedule" class="display-4 text-center my-4 text-muted">Schedule</h1>
        <ul class="list-group">

          <li class="list-group-item justify-content-between">
            <h4 class="list-group-item-heading">Keynote: Internet of Things</h4>
              NodeStradamus
            <span class="badge badge-info badge-pill">9:00 AM</span>
          </li>

          <li class="list-group-item justify-content-between">
            <h4 class="list-group-item-heading">Angular Basics</h4>
            Angie McAngular
            <span class="badge badge-info badge-pill">10:00 AM</span>
          </li>

          <li class="list-group-item justify-content-between">
            <h4 class="list-group-item-heading">Hey! Mongo!</h4>
            Jay Query
            <span class="badge badge-info badge-pill">11:00 AM</span>
          </li>

          <li class="list-group-item justify-content-between list-group-item-success">
            <h4 class="list-group-item-heading">Lunch Break!</h4>
            Free pizza for everyone!
            <span class="badge badge-info badge-pill">12:00 PM</span>
          </li>

          <li class="list-group-item">
            <h4 class="list-group-item-heading">Introducing ES2015 <span class="label label-info label-pill pull-xs-right">1:00pm</span></h4>
            Ecma Scriptnstuff
          </li>
          <li class="list-group-item">
            <h4 class="list-group-item-heading">Gettin' MEAN <span class="label label-info label-pill pull-xs-right">2:00pm</span></h4>
            Geo "Lo" Cation
          </li>
          <li class="list-group-item">
            <h4 class="list-group-item-heading">What's Babel? <span class="label label-info label-pill pull-xs-right">3:00pm</span></h4>
            Json Babel
          </li>
        </ul><!--/ schedule -->

       <!--call out button-->
       <button type="button" class="btn btn-outline-info btn-lg d-block mx-auto my-4" data-toggle="modal" data-target="#register">Don't Miss Out, Register Now!</button>


       <!-- signup form -->
      <hr>
      <div class="row p-y-2 text-muted">
        <div class="col-md-6 col-xl-5">
          <p><strong>About Treehouse</strong></p>
          <p>Treehouse brings affordable technology education to people everywhere to help them achieve their dreams and change the world.</p>
        </div>
        <div class="col-md-6 col-xl-5 offset-xl-2">
          <p><strong>Stay up-to-date on Full Stack Conf</strong></p>
          <div class="input-group">
            <input type="text" class="form-control" placeholder="Email">
            <span class="input-group-btn">
              <button class="btn btn-primary" type="button">Sign up</button>
            </span>
          </div>
        </div>
      </div>
      <hr><!-- /signup form -->

<!--  Footer -->

     <div class="row py-1">
      <div class="col-md-7">
        <ul class="nav">
          <li class="nav-item">
            <a class="nav-link" href="#">Community</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#">Tracks</a>
          </li>
          <li class="nav-item">
            <!-- Example split danger button -->
            <div class="btn-group dropup">
              <button type="button" class="btn btn-secondary">Other Confs</button>
              <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="sr-only">Toggle Dropdown</span>
              </button>
              <div class="dropdown-menu">
                <a class="dropdown-item" href="#">CSS Conf</a>
                <a class="dropdown-item" href="#">Python Conf</a>
                <a class="dropdown-item" href="#">Java Conf</a>
                <a class="dropdown-item" href="#">Swift Conf</a>
              </div>
            </div>
          </li>
        </ul>
      </div>
  <div class="col-md-5 text-md-right">
    <small>&copy; 2016 Full Stack Conf &amp; Treehouse</small>
  </div>
</div>  
<!--  /Footer -->

    </div><!-- /.container -->


    <!---------------------------------------------------
--------------Forming Modal--------------------------------->

    <div id="register" class="modal fade">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Register for Full Stack Conf</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <p>Modal body text goes here.</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary">Save changes</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>


    <!-- jQuery first, then bootstrap js -->
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
  </body>
</html>
Herri Fransisca
Herri Fransisca
922 Points

Hello @Attila Bongar,

I've been updating into latest version of bootstrap as well (alpha.6)

below, is what I've done and works well: (note: I'm doing the schedule section at the moment and get stucked (haven't found the solution yet)

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Full Stack Conf</title>

  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
</head>
<body>

  <!-- navbar -->
  <nav class="navbar navbar-toggleable-sm navbar-inverse fixed-top bg-primary">
    <div class="container">
      <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarNav">
        <ul class="navbar-nav">
          <li class="nav-items">
            <a class="nav-link" href="#home">Home <span class="sr-only">(current)</span></a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#about">About</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#speakers">Speakers</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#schedule">Schedule</a>
          </li>
        </ul>
      </div>
      <a class="navbar-brand" href="http://www.teamtreehouse.com">Powered by Treehouse</a>
  </div>
</nav>
<!-- /navbar -->

<!-- jumbotron -->
<div class="jumbotron jumbotron-fluid bg-info text-white">
  <div class="container text-center pt-3">
    <h1 class="display-2">Full Stack Conf</h1>
    <p class="lead">A One-day Conference About All Things JavaScript!</p>
  </div>
</div>
<!-- /jumbotron -->

<div class="container pt-2">
  <!-- about -->
  <div class="row">
    <div class="col-lg-4 push-lg-4">
      <h3 class="mb-2">About Full Stack Conf</h3>
      <img class="img-fluid rounded hidden-xs-down mb-1" src="img/pdx.jpg" alt="Portland">
      <p>The beautiful city of Portland, Oregon will be the host city for Full Stack Conf!</p>
      <p>Explore the future of JavaScript with a lineup of industry professionals. Discover new techniques to advance your career as a web developer.</p>
    </div>
    <div class="col-lg-4 pull-lg-4">
      <h3 class="mb-2">Expert Speakers</h3>
      <p>Our expert speaker lineup was just announced, so don't wait too long before grabbing your tickets!</p>
      <p>Want to meet the international JavaScript community and share skills with some of the world's top experts, hackers, and makers? Be the first to know what to expect for the future of JavaScript.</p>
      <p>Full Stack Conf is committed to being inclusive and welcoming for everyone. We look forward to another intensive day of learning and sharing.</p>
    </div>
    <div class="col-lg-4">
      <h3 class="mb-2">What You'll Learn</h3>
      <ul class="list-group">
        <li class="list-group-item"><strong>MongoDB</strong>: NoSQL database</li>
        <li class="list-group-item"><strong>Angular</strong>: JavaScript framework</li>
        <li class="list-group-item"><strong>Express</strong>: Framework for Node</li>
        <li class="list-group-item"><strong>Node.js</strong>: JavaScript environment</li>
        <li class="list-group-item"><strong>ES2015</strong>: Latest version of JavaScript</li>
        <li class="list-group-item"><strong>Babel</strong>: JavaScript compiler</li>
      </ul>
    </div>
  </div>
  <!-- /about -->

  <!-- speaker -->
  <h1 class="display-4 text-center text-muted my-3">Speakers</h1>
  <div class="row">
    <div class="col-md-6 col-lg-4">
      <div class="card mb-3">
        <img class="card-img-top img-fluid" src="img/angie.png" alt="Card image cap">
        <div class="card-block">
          <h4 class="card-title">Angie McAngular</h4>
          <p class="card-text">Angie is a web developer and teacher who passionate about building scalable, data driven web apps, especially ones that address old problems with new tech!</p>
        </div>
      </div>
    </div>
    <div class="col-md-6 col-lg-4">
      <div class="card mb-3">
        <img class="card-img-top img-fluid" src="img/nodestradamus.png" alt="Card image cap">
        <div class="card-block">
          <h4 class="card-title">NodeStradamus</h4>
          <p class="card-text">"NodeStra" is a software engineer and philosopher trying to leave the world better than he found it. He codes for non-profits, eCommerce, and large-scale web apps.</p>
       </div>
      </div>
    </div>
    <div class="col-md-6 col-lg-4">
      <div class="card mb-3">
        <img class="card-img-top img-fluid" src="img/Geo.png" alt="Card image cap">
        <div class="card-block">
          <h4 class="card-title">Geo "Lo" Cation</h4>
          <p class="card-text">Geo is a JavaScript developer working on large-scale applications. He's also a teacher who strives to support students in removing all barriers to learning code.</p>
        </div>
      </div>
    </div>
    <div class="col-md-6 col-lg-4">
      <div class="card mb-3">
        <img class="card-img-top img-fluid" src="img/Ecma.png" alt="Card image cap">
        <div class="card-block">
          <h4 class="card-title">Ecma Scriptnstuff</h4>
          <p class="card-text">Ecma found her passion for computers and programming over 15 years ago. She is excited to introduce people to the wonderful world of JavaScript.</p>
        </div>
      </div>
    </div>
    <div class="col-md-6 col-lg-4">
      <div class="card mb-3">
        <img class="card-img-top img-fluid" src="img/Jay.png" alt="Card image cap">
        <div class="card-block">
          <h4 class="card-title">Jay Query</h4>
          <p class="card-text">Jay is a developer, author of CSS: The Missing Manual, JavaScript &amp; jQuery: The Missing Manual, and web development teacher.</p>
        </div>
      </div>
    </div>
    <div class="col-md-6 col-lg-4">
      <div class="card mb-3">
        <img class="card-img-top img-fluid" src="img/Json.png" alt="Card image cap">
        <div class="card-block">
          <h4 class="card-title">Json Babel</h4>
          <p class="card-text">All of his professional life, Json has worked with computers online; he is a polyglot programmer and likes using the right tools for the job.</p>
        </div>
      </div>
    </div>
  </div>
  <!-- /speaker -->

  <!-- schedule -->
  <h1 class="display-4 text-center text-muted my-3">Schedules</h1>
  <!-- doing -->
  <!-- stuck in code below: -->
    <!-- <ul class="list-group"> -->
    <!-- <li class="list-group-item justify-content-between"> -->
      <!-- <h4>Keynote: Internet of Things</h4> -->
      <!-- <span class="badge badge-default badge-pill">09:00am</span> -->
      <!--  -->
    <!-- </li> -->
  <!-- </ul> -->

  <!-- <br> -->

  <!-- <div class="list-group"> -->
    <!-- <a href="#" class="list-group-item flex-column"> -->
      <!-- <div class="d-flex w-100 justify-content-between"> -->
        <!-- <h5 class="mb-1">Keynote: Internet of Things</h5> -->
        <!-- <small class="badge badge-default badge-pill">09:00am</small> -->
      <!-- </div> -->
      <!-- <p class="mb-1">NodeStramus</p> -->
      <!-- <small>Donec id elit non mi porta.</small> -->
    <!-- </a> -->
  <!-- </div> -->

  <!-- got help for anyone here, I'm really appreciate. thank you -->


  <!-- /schedule -->

  <!-- callout buttons -->
  <button type="button" class="btn btn-outline-info btn-lg d-block mx-auto my-5">Don't Miss Out, Register Now</button>
  <!-- /callout buttons -->

  <!-- signup form -->
  <hr>
  <div class="row py-2 text-muted">
    <div class="col-md-6 col-xl-5">
      <p><strong>About Treehouse</strong></p>
      <p>Treehouse brings affordable technology education to people everywhere to help them achieve their dreams and change the world.</p>
    </div>
    <div class="col-md-6 col-xl-5 offset-xl-2">
      <p><strong>Stay up-to-date on Full Stack Conf</strong></p>
      <div class="input-group">
        <input type="text" class="form-control" placeholder="Email">
        <span class="input-group-btn">
          <button class="btn btn-primary" type="button">Sign Up</button>
        </span>
      </div>
    </div>
  </div>
  <hr>
  <!-- /signup form -->

  <!-- footer -->
  <div class="row py-1">
    <div class="col-md-7">
      <ul class="nav">
        <li class="nav-item">
          <a class="nav-link" href="#">Community</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#">Tracks</a>
        </li>
        <li class="nav-item">
          <!-- Example split secondary button -->
          <div class="btn-group dropup">
            <button type="button" class="btn btn-secondary">Other Confs</button>
            <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              <span class="sr-only">Toggle Dropdown</span>
            </button>
            <div class="dropdown-menu">
              <a class="dropdown-item" href="#">CSS Conf</a>
              <a class="dropdown-item" href="#">Phyton Conf</a>
              <a class="dropdown-item" href="#">Java Conf</a>
              <a class="dropdown-item" href="#">Swift Conf</a>
          </div>
        </li>
      </ul>
    </div>
    <div class="col-md-5 text-md-right">
      <small>&copy; 2016 Full Stack Conf &amp; Treehouse</small>
    </div>
  </div>
  <!-- /footer -->

</div><!-- /.container -->


<!-- jQuery first, then Tether, then Bootstrap JS. -->
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
</body>
</html>

3 Answers

Hi Harri,

I realized shortly after I posted my question, that we should probably match the CDN link with the version what Gil uses in the video. I haven't tried it yet but I'm almost certain that it'll work just fine. So, try matching your version with his, and see. But if you wanna stick to the latest one, it's a good way to figure out how to work. Problem solving will be essential anyway. (Than again, the solution for this problem is just to use the version matching Gil's haha)

You should stick to the latest version, most components and class names from Gil's version are not supported in the latest version and will not be supported in future alpha versions, if you guys will be creating more content with bootstrap then it is best to stick to the latest version... Every single example has a solution with the latest update if you guys have any question about any of the exercises post them here and I'll gladly answer as many as I can.

Emanuel Santana
Emanuel Santana
11,778 Points

Hi guys,

I'm stuck with this line of code

<a class="navbar-brand pull-sm-right mr-0 hidden-xs-down" href="http://teamtreehouse.com">Presented by Treehouse</a>

it's basically the same as the first exemple posted here. I'd like to align the "presented by treehouse" on the right side of the navbar. I tried to change the "pull-sm-right" to "float-sm-right" but didn't work.

Does anyone knows how? Thanks

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Full Stack Conf</title> <!-- bootstrap css --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> </head> <body>

<!-- navbar   -->

<nav class="navbar navbar-toggleable-sm navbar-inverse bg-primary"> <div class="container"> <ul class="nav navbar-nav"> <li class="nav-item"> <a class="nav-link" href="#home">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#about">About</a> </li> <li class="nav-item"> <a class="nav-link" href="#speakers">Speakers</a> </li> <li class="nav-item"> <a class="nav-link" href="#schedule">Schedule</a> </li> </ul> <a class="navbar-brand pull-sm-right mr-0 hidden-xs-down" href="http://www.teamtreehouse.com">Presented by TreeHouse</a> </div> </nav> <!-- /navbar -->

<div class="container pt-2">

  <!--About -->
  <div class="row">
    <div class="col-md-4 push-md-4">
      <h3 class="m-b-2">About Full Stack Conf</h3>
      <img class="m-b-1 img-fluid rounded hidden-xs-down" src="img/pdx.jpg" alt="Portland">

<p>The beautiful city of Portland, Oregon will be the host city for Full Stack Conf!</p> <p>Explore the future of JavaScript with a lineup of industry professionals. Discover new techniques to advance your career as a web developer.</p> </div>

    <div class="col-md-4 pull-md-4">
      <h3 class="m-b-2">Expert Speakers</h3>

<p>Our expert speaker lineup was just announced, so don't wait too long before grabbing your tickets!</p> <p>Want to meet the international JavaScript community and share skills with some of the world's top experts, hackers, and makers? Be the first to know what to expect for the future of JavaScript.</p> <p>Full Stack Conf is committed to being inclusive and welcoming for everyone. We look forward to another intensive day of learning and sharing.</p> </div>

    <div class="col-md-4">
      <h3 class="m-b-2">What You'll Learn</h3>
      <ul>
        <li><strong>MongoDB</strong>: NoSQL database</li>
        <li><strong>Angular</strong>: JavaScript framework</li>
        <li><strong>Express</strong>: Framework for Node</li>
        <li><strong>Node.js</strong>: JavaScript environment</li>
        <li><strong>ES2015</strong>: Latest version of JavaScript</li>
        <li><strong>Babel</strong>: JavaScript compiler</li>
      </ul>
    </div>
  </div> <!--About -->

  <!-- speakers -->
  <h1 class="display-4 text-center my-3 text-muted">Speakers</h1>
  [Speakers bio go here]
  <!--   schedule   -->
  <h1 class="display-4 text-center my-3 text-muted">Schedule</h1>
  [Conference schedule goes here]      
<!-- signup form -->
  <hr>
  <div class="row p-y-2 text-muted">
    <div class="col-md-6 col-xl-5">
      <p><strong>About Treehouse</strong></p>
      <p>Treehouse brings affordable technology education to people everywhere to help them achieve their dreams and change the world.</p>
    </div>
    <div class="col-md-6 col-xl-5 offset-xl-2">
      <p><strong>Stay up-to-date on Full Stack Conf</strong></p>
      <div class="input-group">
        <input type="text" class="form-control" placeholder="Email">
        <span class="input-group-btn">
          <button class="btn btn-primary" type="button">Sign up</button>
        </span>
      </div>
    </div>
  </div>
  <hr><!-- /signup form -->  
</div>
 <!--Container -->

<!-- jQuery first, then bootstrap js -->
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> </body> </html>

John Ireland
John Ireland
6,585 Points

Best way I have found, if if you load a different workspace, and pick the one associated with the certain tutorial you are on. It will have all the same text that Gil has used. When you go to bootstraps page, they have changed the class names, it is best to watch what Gil copies and pastes, and type what he pastes in as opposed to going to bootstraps website and copying and pasting their class names. Hopefully Treehouse will amend this entire course.