Intermediate
HTML & CSS
Q47 / 100
What is the difference between CSS Grid and Flexbox at a high level?
Correct! Well done.
Incorrect.
The correct answer is B) Flexbox is primarily designed for one-dimensional layouts (a row or a column), while CSS Grid is designed for two-dimensional layouts (rows and columns simultaneously)
B
Correct Answer
Flexbox is primarily designed for one-dimensional layouts (a row or a column), while CSS Grid is designed for two-dimensional layouts (rows and columns simultaneously)
Explanation
Flexbox excels at distributing space along a single axis (row or column), while Grid provides explicit control over both rows and columns at once, suiting full-page or complex layouts.
Progress
47/100