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

General Discussion

Boostrap Carousel Not Working

Can someone give me a tip or two? The carousel is not working. It shows the first photo (even when I change the order) but will not slide and the arrows will not work.

Imgur

1 Answer

Bootstrap is a combination of CSS and JavaScript. You've included the CSS file, but not the JavaScript one. It's the JavaScript that makes webpages interactive and dynamic.

Also important, Bootstrap's JavaScript requires jQuery as a dependency, so you have to include that too. Here's the code and instructions for doing that: https://getbootstrap.com/docs/4.3/getting-started/introduction/#js