Question · Vibe coding with Claude Code course · Module 14: Pinterest clone

Quiz: The masonry layout

How does a masonry layout differ from an ordinary grid with rows?

Answer options

  • Each next pin goes into the column that is the shortest at that moment, so no gaps are left under the shorter photos
  • All the pins are cropped to the same height, so the rows are even
  • Each row is as tall as the tallest photo in that row
  • The pins go into the columns in turn: the first into the first, the second into the second, and so on in a circle

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