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

jason webber
jason webber
1,407 Points

team treehouse bootstrap correct, but bootstrap website incorrect

TeamTreehouse copies code correctly

the portion below is from bootstrap website directly. the fade show is fade in on teamtreehouse and works.

<div class="alert alert-warning alert-dismissible fade show" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> <strong>Holy guacamole!</strong> You should check in on some of those fields below. </div>

My question is how do I clear obstacles presented by incorrect code snippets from bootstrap.com

1 Answer

I've been using bootstrap for a while and have never run into an issue with their snippets. Keep in mind that Bootstrap is always changing. You might confirm that you are looking at the docs for the bootstrap version you're using. I can't remember which version of bootstrap is covered in treehouse but version 3 is the stable release and version 4 is in beta right now.