About Lesson
Certainly! Here’s a longer Bootstrap 5 quiz with 50 questions. You can find the answers at the end of the article.
Bootstrap 5 Quiz
- What is Bootstrap?
a) A programming language
b) A CSS framework
c) A JavaScript library - Which version of Bootstrap introduced the CSS utility classes?
a) Bootstrap 3
b) Bootstrap 4
c) Bootstrap 5 - Which class is used to create a responsive grid layout in Bootstrap?
a) .container
b) .row
c) .col - What is the class used to create a responsive navbar in Bootstrap?
a) .navbar
b) .nav
c) .navbar-expand - Which class is used to create a card component in Bootstrap?
a) .card
b) .panel
c) .container - How many breakpoints are defined in Bootstrap 5?
a) 2
b) 3
c) 4 - Which class is used to create a button in Bootstrap?
a) .btn
b) .button
c) .btn-primary - Which class is used to create a modal in Bootstrap?
a) .modal
b) .popup
c) .dialog - Which class is used to create a progress bar in Bootstrap?
a) .progressbar
b) .progress
c) .progress-bar - Which class is used to create a tooltip in Bootstrap?
a) .tooltip
b) .popup
c) .tip - Which class is used to create a form input group in Bootstrap?
a) .form-group
b) .input-group
c) .form-control - What is the class used to create a dropdown menu in Bootstrap?
a) .dropdown
b) .menu
c) .drop-menu - Which class is used to create a carousel in Bootstrap?
a) .slider
b) .carousel
c) .slide - What is the class used to create a badge in Bootstrap?
a) .badge
b) .label
c) .tag - Which class is used to create a responsive table in Bootstrap?
a) .table
b) .responsive-table
c) .table-responsive - What is the class used to create a jumbotron in Bootstrap?
a) .jumbotron
b) .hero
c) .container - Which class is used to create a list group in Bootstrap?
a) .list-group
b) .item-group
c) .list-item - What is the class used to create a collapse component in Bootstrap?
a) .collapse
b) .hidden
c) .toggle - Which class is used to create a toast notification in Bootstrap?
a) .notification
b) .alert
c) .toast - What is the class used to create a navigation bar in Bootstrap?
a) .navbar
b) .nav
c) .nav-bar - Which class is used to create a responsive image in Bootstrap?
a) .img-responsive
b) .responsive-img
c) .img-fluid - What is the class used to align text to the right in Bootstrap?
a) .text-right
b) .right-align
c) .align-right - Which class is used to create a rounded button in Bootstrap?
a) .btn-rounded
b) .btn-circle
c) .rounded-btn - What is the class used to create a full-width container in Bootstrap?
a) .container
b) .container-fluid
c) .full-width - Which class is used to create a horizontal form in Bootstrap
?
a) .form-horizontal
b) .horizontal-form
c) .form-row
- What is the class used to create a justified navigation menu in Bootstrap?
a) .nav-justified
b) .justify-nav
c) .nav-align - Which class is used to create a responsive video in Bootstrap?
a) .video-responsive
b) .responsive-video
c) .video-fluid - What is the class used to create a list with inline items in Bootstrap?
a) .list-inline
b) .inline-list
c) .list-inline-item - Which class is used to create a pill-shaped badge in Bootstrap?
a) .badge-pill
b) .badge-round
c) .pill-badge - What is the class used to create a fixed top navbar in Bootstrap?
a) .navbar-fixed-top
b) .fixed-top-navbar
c) .top-fixed-navbar - Which class is used to create a vertical navigation menu in Bootstrap?
a) .vertical-nav
b) .nav-vertical
c) .nav-stack - What is the class used to create a justified button group in Bootstrap?
a) .btn-justified
b) .justified-btn-group
c) .btn-group-justified - Which class is used to create a sticky footer in Bootstrap?
a) .footer-sticky
b) .sticky-footer
c) .sticky-footer-navbar - What is the class used to create a breadcrumb navigation in Bootstrap?
a) .breadcrumb
b) .nav-breadcrumb
c) .breadcrumb-nav - Which class is used to create a fixed width container in Bootstrap?
a) .container
b) .fixed-container
c) .width-container - What is the class used to create a pill-shaped nav tab in Bootstrap?
a) .nav-pill
b) .nav-tab-pill
c) .pill-nav-tab - Which class is used to create a vertical divider in Bootstrap?
a) .divider-vertical
b) .vertical-divider
c) .divider - What is the class used to create a collapsible accordion in Bootstrap?
a) .accordion
b) .collapse
c) .collapsible - Which class is used to create a hidden element in Bootstrap?
a) .hide
b) .hidden
c) .invisible - What is the class used to create a sticky sidebar in Bootstrap?
a) .sidebar-sticky
b) .sticky-sidebar
c) .sticky-side - Which class is used to create a horizontal divider in Bootstrap?
a) .divider-horizontal
b) .horizontal-divider
c) .divider - What is the class used to create a multiselect dropdown in Bootstrap?
a) .dropdown-multiselect
b) .multiselect-dropdown
c) .dropdown-toggle - Which class is used to create a thumbnail image in Bootstrap?
a) .thumbnail-img
b) .img-thumbnail
c) .image-thumb - What is the class used to create a justified button toolbar in Bootstrap?
a) .btn-justified
b) .justified-btn-toolbar
c) .btn-toolbar-justified - Which class is used to create a horizontal scrollable container in Bootstrap?
a) .container-scroll
b) .scroll-container
c) .container-fluid - What is the class used to create a card deck in Bootstrap?
a) .card-stack
b) .card-deck
c) .stacked-card - Which class is used to create a disabled button in Bootstrap?
a) .btn-disabled
b) .disabled
c) .btn-dark - What is the class used to create a full-width jumbotron in Bootstrap?
a) .jumbotron-fluid
b) .full-width-jumbotron
c) .jumbotron-wide - Which class is used to create a fixed bottom navbar in Bootstrap?
a) .navbar-fixed-bottom
b) .bottom-fixed-navbar
c) .fixed-bottom-navbar - What is the class used to create a text with a line through it in Bootstrap?
a) .strike
b) .line-through
c) .text-line-through
Answers:
- b) A CSS framework
- c) Bootstrap 5
- b) .row
- a) .navbar
- a) .card
- c) 4
- a) .btn
- a) .modal
- c) .progress-bar
- a) .tooltip
- b) .input-group
- a) .dropdown
- b) .carousel
- a) .badge
- c) .table-responsive
- a) .jumbotron
- a) .list-group
- a) .collapse
- c) .toast
- a) .navbar
- c) .img-fluid
- a) .text-right
- b) .btn-circle
- b) .container-fluid
- a) .form-horizontal
- a) .nav-justified
- b) .responsive-video
- a) .list-inline
- a) .badge-pill
- a) .navbar-fixed-top
- b) .nav-vertical
- c) .btn-group-justified
- b) .sticky-footer
- a) .breadcrumb
- c) .width-container
- a) .nav-pill
- c) .divider
- b) .collapse
- b) .hidden
- b) .sticky-sidebar
- c) .divider
- c) .dropdown-toggle
- b) .img-thumbnail
- a) .btn-justified
- c) .container-fluid
- b) .card-deck
- b) .disabled
- a) .jumbotron-fluid
- a) .navbar-fixed-bottom
- c) .text-line-through
I hope you enjoyed this Bootstrap 5 quiz and found it helpful for testing your knowledge of Bootstrap concepts.
Join the conversation