Put in order · Vibe coding with Claude Code course · Module 4: Instagram clone

Sorting: sizes for the Grid

Arrange the conditions of the grid's sizes attribute from the left (with min-width the browser takes the first matching condition):

Items to put in order

  • (min-width: 1024px) 224px,
  • (min-width: 640px) 50vw,
  • 100vw
  • (min-width: 768px) 33vw,

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