Question · Vibe coding with Claude Code course · Module 3: Twitter clone
An optional prop
What does the question mark mean in the field description?: string in a props interface?
Answer options
- The prop is optional - it can be omitted
- The prop must be a number
- The prop is secret
- The prop will always be empty
You can check the correct answer by solving this task in the CodeWorlds game.