Put in order · HTML and CSS course · Module 4: Flexbox

Steps to Create a Flexbox Grid

Arrange the steps for creating a responsive grid with Flexbox:

Items to put in order

  • 2. Add flex-wrap: wrap
  • 3. Define column widths (e.g. flex-basis: 33%)
  • 4. Add gap for spacing between elements
  • 1. Set display: flex on the container

You can check the correct answer by solving this task in the CodeWorlds game.