What is the purpose of the .container class in Bootstrap?
-
A
To center-align content
-
B
To create a responsive grid container
Correct answer
-
C
To apply a border around elements
-
D
None of the above
Correct answer
B. To create a responsive grid container
16 views
Explanation
The .container class in Bootstrap is used to create a responsive grid container that wraps and contains the grid system's columns.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ