Question · Vibe coding with Claude Code course · Module 5: Reddit clone

Quiz: The MAX_DEPTH indentation limit

What does the CommentThread from the lesson do when depth exceeds MAX_DEPTH?

Answer options

  • Deletes replies deeper than MAX_DEPTH
  • Throws an error and stops rendering the thread
  • Draws further replies under the parent with no additional indentation
  • Blocks the reply form in the whole thread

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