Unlock access
Modify the code so it returns GRANTED instead of DENIED.
Solve challenge → No login requiredJAVASCRIPT IN PRACTICE
Unlock the goal - change locked code so it returns the expected value. Trains reasoning about conditions.
First challenge without login · Free
Pick a challenge and explore the rules through a concrete example.
Modify the code so it returns GRANTED instead of DENIED.
Solve challenge → No login requiredString exercise: return exactly "<script>alert(1)</script>". The result is compared as text and is not executed. This is not a universal XSS test: execution depends on…
Preview challenge → Free account required to solveFreeze the flat config object with Object.freeze and return it. Tests check Object.isFrozen as well as content. Freezing is shallow: in general, nested objects are not…
Preview challenge → Free account required to solveAvailable challenges: 3.
See all challenges →The full catalogue requires a free account.
Code modification challenges teach you to achieve a specified result within explicit constraints. You practise understanding the relationship between conditions and outcomes, which helps when modifying an existing function rather than rewriting it.
Read the goal and editing constraints first. Trace which conditions lead to the expected result, then change the permitted code. Check value types and operation order: similar-looking expressions can behave differently.
Solve this challenge without creating an account.