Carousel for the Movie Streaming Website

Learn how to import the carousel and align the caption in the carousel.

In this lesson, we'll build a movie carousel for our website.

Importing carousels

Bootstrap's carousel starter code is given below. The code from lines 40 to 82 is the same snippet in Bootstrap's official documentation. Here, we'll use three images for the carousel.

Note: We have not removed the navbar. We are only displaying the carousel code to avoid confusion in the code.

Get hands-on with 1400+ tech skills courses.