Placeholder Code
The file .placeholder is the starter code students see when they first open the problem. It appears in the editor automatically.
Example
For a problem where students write a function called add:
Tips
- Always include the function signature. Students shouldn't have to guess the name or parameters.
- The function name must exactly match the
functionNameset on the problem — that's what the test runner looks for. - Keep it minimal. Don't give away the solution.
Note
If .placeholder doesn't exist, the editor starts empty.