11.) What is the purpose of the Bootstrap 5 grid system?
A) To manage layouts using tables
B) To create responsive, flexible layouts
C) To enhance JavaScript performance
D) To style fonts and colors
12.) What is the default primary color in Bootstrap 5?
A) Blue
B) Red
C) Green
D) Purple
13.) Which command installs Bootstrap 5 using Yarn?
A) yarn bootstrap install
B) yarn add bootstrap
C) yarn get bootstrap
D) yarn download bootstrap
14.) What does the bootstrap.bundle.min.js file include?
A) Only Bootstrap’s JavaScript functions
B) Only tooltips and modals
C) Only CSS styles
D) JavaScript + Popper.js
15.) What is the main purpose of Bootstrap’s _variables.scss file?
A) To define JavaScript functions
B) To store default styles and variables
C) To link HTML files
D) To manage database connections
16.) What happens if Bootstrap’s CSS file is missing?
A) The website loads normally
B) JavaScript components still work
C) Styles and layout break
D) Nothing happens
17.) Which Bootstrap method is best for installing dependencies in a Node.js project?
A) npm or yarn
B) Manual download
C) CDN
D) Google Fonts
18.) Which of the following is NOT a valid way to include Bootstrap 5 in a project?
A) Using npm
B) Using a CDN
C) Downloading and linking manually
D) Using Python scripts
19.) What is the recommended method for customizing Bootstrap styles?
A) Editing bootstrap.min.css
B) Using !important in custom CSS
C) Using Sass variables
D) Directly modifying Bootstrap’s core files
20.) How can you override Bootstrap’s default styles?
A) By editing bootstrap.min.css
B) By using CSS rules in a separate stylesheet
C) By modifying the HTML structure
D) It is not possible
Related