CSS2: Attendance and activity¶
During this session, students shows the sample solution of the exercise and the instructor checks the attendance. The instructor also gives feedback on the exercise. Teams are going through the following questions:
Flexbox SWOT¶
What is CSS flexbox?
How do you turn a html element into a flex container?
How do you wrap flex items into multiple lines in flexbox?
How do you define the direction in which the elements are positioned?
How do you set the initial main size of a flex-item?
Flexbox Froggy¶
The students complete a few of the levels as a group, then should explain to their classmates which CSS properties and values were used, how they solved the level, and what they learned from the experience. Dont take the “easiest” levels- be brave and challenge yourself! Also be prepared to answer any questions their classmates may have about the level. Here are some questions to help you prepare:
What is the main purpose of using CSS Flexbox layout?
Which Flexbox property is used to align items vertically to the opposite end in a Flexbox container?
How does Flexbox differ from CSS Grid layout?
Can Flexbox be used to create responsive layouts? If so, how?
Flexbox Holy Grail¶
What is a flex item and what is its job?
What is flex-grow and what is its job?
What is flex-shrink and what is its job?
What is flex-basis and what is its job?
What is the shorthand for setting flex-grow, flex-shrink and flex-basis? Why is it often better than using flex-grow, flex-shrink and flex-basis separately?
GRID Garden¶
The students complete a few of the levels as a group, then should explain to their classmates which CSS properties and values were used, how they solved the level, and what they learned from the experience. Dont take the “easiest” levels- be brave and challenge yourself! Also be prepared to answer any questions their classmates may have about the level. Here are some questions to help you prepare:
What is the main purpose of using CSS Grid layout?
How does Grid differ from Flexbox layout?
How do you specify the number of rows and columns in a CSS Grid layout?
What is the difference between grid-template-areas and grid-template-columns in CSS Grid?
CSS GRID¶
What is the grid-template-columns css property used for?
How do you create an empty area in the grid-template-areas
What does the shorthand grid-row do?
What does the shorthand grid-column do?
How do you create gaps between grid items in CSS Grid?
A+ presents the exercise submission form here.