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) Building Forms with Bootstrap Custom CSS

Collapsible element Bootstrap 4

What is wrong with this code? Please help. Thank you!

<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" 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>

Joey Ward
Joey Ward
Courses Plus Student 22,720 Points

It looks like you've opened one more div than you've closed.