Practice
Write Common, press Run, see what the visitor would see. Nothing you type can touch the server.
GoalUse the variable so it says: Welcome, Ada!
Hint
A value goes inside the text in square brackets.
After three tries the full answer appears.
Press Run to see the result here.
The three rules, and that is all of them
- Every line starts with a command:
show,set,if,for each,repeat… - A value goes inside text in brackets:
show "Hello, [name]" if,for each,repeat,to, and ashowon its own, own the lines below them, up to a line that saysend.
How this page runs your code safely
set program to form "code" set result to try program if result contains "Hello, World!" show "✓ That does it." end
try runs text as Common with files, the database, cookies and redirects switched off, and stops after 20,000 steps or 64 MB of memory. The result is shown inside a sandboxed frame, so even HTML you write stays inside its box.