Web Development Lesson Eleven
Web Development Lesson Eleven
LESSON ELEVEN
• Bootstrap Carousel
• Bootstrap Footer
Bootstrap Navigation Bar
With Bootstrap, a navigation bar can extend or collapse, depending on the
screen size.
To add links inside the navbar, use either an <ul> element (or a <div>)
with class="navbar-nav" . Then add <li> elements with a .nav-item
class followed by an <a> element with a .nav-link class:
.carousel-indicators Adds indicators for the carousel. These are the little dots at the
bottom of each slide (which indicates how many slides there are
in the carousel, and which slide the user are currently viewing)
.carousel-control-prev Adds a left (previous) button to the carousel, which allows the
user to go back between the slides
.carousel-control-next Adds a right (next) button to the carousel, which allows the user
to go forward between the slides
A description of what each class from the
example above do:
Class Description
.slide Adds a CSS transition and animation effect when sliding from
one item to the next. Remove this class if you do not want this
effect
Bootstrap Footer
The website footer an element placed at the very bottom of a web page.
The <footer> element is a structural element used to identify the footer of a
page, document, article, or section. A <footer> typically contains copyright and
authorship information or navigational elements pertaining to the contents of
the parent element.
Designing the footer of a website using Bootstrap is an efficient way to ensure a
responsive and visually appealing layout. Bootstrap offers a range of utility
classes and components that simplify the creation of footers with a professional
look and feel.
Bootstrap Icons allows you to add icons to various items in your footer or other
parts of your website, giving it a more appealing view. To use Bootstrap icons,
add this link tag to your head tag “<link
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.10.3/font/boot
strap-icons.min.css" rel="stylesheet">”
Bootstrap Footer Example