21.) Which method prevents unnecessary reflows in Bootstrap layouts?
A) Using JavaScript to adjust element sizes
B) Using Flexbox instead of inline-block elements
C) Removing all margin and padding
D) Avoiding Bootstrap classes
22.) How does Bootstrap handle performance in dark mode?
A) Uses less CSS
B) Requires extra JavaScript processing
C) Dark mode does not affect performance significantly
D) Reduces HTML file size
23.) What is a downside of using too many Bootstrap modals?
A) They take up extra space in HTML
B) They require extra CSS
C) They cannot be styled
D) Each modal adds additional JavaScript processing
24.) Why should Bootstrap’s .container class be used instead of custom width styles?
A) It makes pages load faster
B) It ensures consistent, responsive layouts
C) It removes unnecessary elements
D) It prevents JavaScript execution
25.) How does Bootstrap improve web accessibility along with performance?
A) By using built-in ARIA attributes
B) By reducing CSS file sizes
C) By removing unnecessary styles
D) By converting all elements into text
Related