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

Development Tools

Bootstrap 4 Code Help

Hi, I'm working on the Nostradamus code as a Bootstrap 4 exercise to create a collapsible element in the schedule. However, the thumbnail image of Nostradamus does not line up with the text. The image is above the text. Could somebody help? Thank you very much.

My code is here:

<!--schedule-->

<h1 id="schedule" class="display-4 text-xs-center my-3 text-muted">Schedule</h1>

<div id="accordion" role="tablist" aria-multiselectable="true"> <div class="card"> <div class="card-header" role="tab" id="headingOne">

<img class="media-object rounded-circle img-fluid" src="img/avatar-nodestradamus.png" alt="Nodestradamus" width="50px"> <h5 class="mb-0">

    <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
     Keynote: Internet of Things
    </a>
    <span class="tag tag-info tag-pill float-xs-right">9:00 am</span>
  </h5>
</div>

<div id="collapseOne" class="collapse in" role="tabpanel" aria-labelledby="headingOne">
  <div class="card-block">
   Javascript is everywhere.
  </div>
</div>

</div>