Back to Real Functions
Code Studio · Level 5

Function Builder

Students build a reusable function with information inside the parentheses.

20-25 min Ages 9-12 Builder JavaScript
Code Editor

Build a helper function.

Example code
function introduce(name, power) {
  say(name + " uses " + power);
}

introduce("Nova", "spark jump");
introduce("Milo", "shield glow");
Output

Program result

Robot ready to speak your strings

Type real JavaScript, then run it.