“CSS MCQs – Advanced Layout Techniques with Flexbox and Grid” offers valuable practice for interviews by focusing on advanced web layout methods. These multiple-choice questions (MCQs) help candidates understand Flexbox and Grid, two powerful CSS tools for creating layouts. Through these questions, candidates can improve their skills in designing flexible and responsive web pages.
By practicing with these MCQs, candidates can gain confidence and be better prepared to tackle layout challenges in interviews. This resource simplifies complex concepts, making it easier for candidates to grasp and apply them effectively during interviews.
1.) What CSS property is used to create a flexible container with a set of flex items?
2.) Which of the following properties is used to align flex items along the main axis?
3.) In Flexbox, what does the flex-grow property determine?
4.) Which property is used in Flexbox to align flex items along the cross-axis?
5.) In Flexbox, what is the purpose of the flex-shrink property?
6.) What CSS property is used to create a grid container?
7.) Which property in Grid is used to set the size of a column or row?
8.) In Grid, what does the grid-gap property control?
9.) Which CSS property is used to place a grid item within a grid area?
10.) What does the justify-self property do in Grid?