Search⌘ K
AI Features

Adding the Carousel Example's Main Element

Explore how to use browser DevTools to isolate and copy the main carousel element from Bootstrap 4 official examples. Learn step-by-step how to remove unwanted elements and paste the carousel's HTML into your own layout to speed up your web development process.

Adding additional sections to our page

To speed things up, we’ll refer to the examples from the official documentation.
This time, we’ll copy a part of the carousel example layout from the Bootstrap 4 official examples. Let's have a look at it.

Carousel example
Carousel example

Main component

This time, we’ll use DevTools slightly differently. We’ll add the entire carousel example layout, except its navbar and carousel. We do this with the help of DevTools.  ...