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 Adding Buttons and Button Groups

James Coles
James Coles
2,449 Points

Speaker button plain

<!-- jumbotron-->

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

        <div class="btn-group mt-2" role="group" aria-label="Basic example">
  <button type="button" class="btn btn-primary">Register Now</button>
  <a class="btn btn-secondary btn-lg" href="#speakers">See Speakers</a>

</div>

Hi, the front isn't coming out bold and the "see speakers" button is grey.

1 Answer

Adam Pengh
Adam Pengh
29,881 Points

It may be due to missing closing <div> tags </div>.

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

    <div class="btn-group mt-2" role="group" aria-label="Basic example">
      <button type="button" class="btn btn-primary">Register Now</button>
      <a class="btn btn-secondary btn-lg" href="#speakers">See Speakers</a>
    </div>

  </div>
</div>