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 trialMark Lawson
6,148 PointsSchedule snippet
I have been working on this for a while. I am not getting the same out put. The persons name is sitting in the middle of the schedule, rather than underneath the heading. Is the code out of date? Can someone help?
Thanks
1 Answer
Thomas Dimnet
Python Development Techdegree Graduate 43,629 PointsHey Mark,
here is my solution which works as well :)
<!-- schedule -->
<h1 class="display-4 text-center my-5 text-muted">Schedule</h1>
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h4 class="mb-1">Keynote: Internet of Things</h4>
<h4 class="badge badge-info badge-pill">9:00am</h4>
</div>
<small>NodeStradamus</small>
</a>
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h4 class="mb-1">Angular Basics</h4>
<h4 class="badge badge-info badge-pill">10:00am</h4>
</div>
<small>Angie McAngular</small>
</a>
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h4 class="mb-1">Hey, Mongo!</h4>
<h4 class="badge badge-info badge-pill">11:00am</h4>
</div>
<small>Jay Query</small>
</a>
<a href="#" class="list-group-item list-group-item-action list-group-item-success flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h4 class="mb-1">Lunch Break</h4>
<h4 class="badge badge-info badge-pill">12:00am</h4>
</div>
<small>Free pizza for everyone</small>
</a>
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h4 class="mb-1">Introducing ES2015</h4>
<h4 class="badge badge-info badge-pill">1:00pm</h4>
</div>
<small>Ecma Scriptnstuff</small>
</a>
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h4 class="mb-1">Gettin' MEAN</h4>
<h4 class="badge badge-info badge-pill">2:00pm</h4>
</div>
<small>Geo "Lo" Cation</small>
</a>
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h4 class="mb-1">What's Babel?</h4>
<h4 class="badge badge-info badge-pill">3:00pm</h4>
</div>
<small>Json Babel</small>
</a>
</div>
<!-- End: schedule -->
Sarah Dillon
10,704 PointsSarah Dillon
10,704 PointsHere is what I ended up with. The span class in the snippet is wrong and it works out best to wrap the h4 and speaker name together and then wrap the span in a separate h4 tag