Bootstrap

Bootstrap

Test your Bootstrap knowledge with free quizzes on MyCodeSkills covering core concepts.


  1. Which class creates a fixed-width container in Bootstrap?

    • .container-fixed
    • .container-box
    • .container
    • .container-100
  2. Which class initiates a Bootstrap grid row?

    • .column
    • .grid-row
    • .row
    • .col-row
  3. Which Bootstrap class creates a primary styled button?

    • .btn-main
    • .btn-primary
    • .btn-blue
    • .button-primary
  4. What is the correct way to add Bootstrap to a project quickly?

    • Install with pip
    • Use a CDN link
    • FTP upload
    • Load from a .php file
  5. Which is the smallest responsive breakpoint in Bootstrap?

    • xs
    • md
    • lg
    • sm
  6. What is the name of a class that provides an input group wrapper?

    • .input-group
    • .form-input
    • .input-wrapper
    • .group-input
  7. What layout class is to use with form elements inline?

    • .form-block
    • .form-inline
    • .form-inline-box
    • .inline-form
  8. What is the modal container in Bootstrap class?

    • .modal-box
    • .modal-dialog
    • .modal-wrapper
    • .modal-shell
  9. What type of class is used on an active item in a carousel?

    • .carousel-active
    • .active-slide
    • .active
    • .slide-on
  10. Which is the type of class to initialize a dropdown menu?

    • .dropdown-box
    • .dropdown
    • .dropdown-wrap
    • .dropdown-container
  11. In what file are the Bootstrap Sass configuration variables?

    • bootstrap.scss
    • _variables.scss
    • _custom.scss
    • bootstrap.config.js
  12. What is the most popular package to include Bootstrap and React?

    • bootstrap-react
    • react-bootstrap
    • bootstrap-ui-react
    • bootstrap4-react
  13. How to fix a Bootstrap element on top of the screen?

    • .fixed-header
    • .sticky-top
    • .fixed-top
    • .top-fixed
  14. What utility class has a 16:9 aspect ratio for embedded content?

    • .embed-16x9
    • .ratio-16x9
    • .aspect-16x9
    • .embed-ratio
  15. What is a tool that accepts Sass in order to customize Bootstrap?

    • Babel
    • ESLint
    • Sass CLI
    • Prettier