Syllabus

  1. 01Flexbox BasicsTurn an element into a flex container, distribute items along the main axis, align them on the cross axis, change direction, and space and wrap items with gap and flex-wrap.8 lessons
    1. 01Flex Containers and Flex Items
    2. 02Spacing Items with justify-content
    3. 03Aligning Items with align-items
    4. 04Rows and Columns with flex-direction
    5. 05Flex Containers Inside Flex Containers
    6. 06Gap and Wrapping
    7. 07flex-flow and align-content
    8. 08Flexbox Basics Quiz
  2. 02Flexible SizingControl how flex items grow into spare space, how they shrink when space runs out and what size they start from, then combine it all with the flex shorthand in common layout patterns.4 lessons
    1. 01Growing with flex-grow
    2. 02Shrinking and Starting Sizes
    3. 03The flex Shorthand
    4. 04Flexible Sizing Quiz
  3. 03Grid BasicsBuild two-dimensional layouts with CSS grid - define columns with fr units, repeat and minmax, add rows and gaps, place items across tracks, and name areas of a layout.6 lessons
    1. 01Grid Containers and Columns
    2. 02repeat() and minmax()
    3. 03Rows and Gaps
    4. 04Placing Items on the Grid
    5. 05Named Areas
    6. 06Grid Basics Quiz
  4. 04More GridAlign items inside their grid cells, size the rows and columns the grid creates automatically, and decide when to reach for grid and when for flexbox.4 lessons
    1. 01Aligning Items in Grid Cells
    2. 02The Implicit Grid
    3. 03Flexbox or Grid?
    4. 04More Grid Quiz
  5. 05Project and ReviewLay out a complete bakery home page with grid for the page and gallery and flexbox inside the components, then review the course with a quiz.2 lessons
    1. 01Project: A Bakery Home Page
    2. 02Review Quiz