Question · Vibe coding with Claude Code course · Module 4: Instagram clone

Quiz: The fill Prop

What does the fill prop do in the Image component?

Answer options

  • Fills the empty space around the image with the background color
  • Stretches the image to the size of its parent, which must have position relative, absolute or fixed
  • Sets the image width to 100% regardless of the parent
  • Downloads the image at full resolution, without a copy from Next.js

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