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

HTML

Chris Drew
Chris Drew
5,919 Points

Custom Checkbox snippet has changed in Bootstrap documentation.

What's in the video:

<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input">
<span class="custom-control-indicator"></span>
<span class="customer-control-description">JavaScript   Framework</span>
</label>

What's on the bootstrap documentation:

<div class="custom-control custom-checkbox">
  <input type="checkbox" class="custom-control-input" id="customCheck1">
  <label class="custom-control-label" for="customCheck1">Check this custom checkbox</label>
</div>

I could not get the bootstrap documentation to work based on the code in the video, so I just freehand copied from the video. Code in question is copied from bootstrap at 2:28.

1 Answer

Steven Parker
Steven Parker
231,248 Points

Bootstrap is constantly under development. For total compatibility with the video, you should get the same exact version as used in the course.