Skip to main content
🌱 Coding Level 1: First Steps 🌱

Make a Box πŸ“¦

Now you make a box and put a value in it.

Below, the box age starts at 0. Change the 0 to how old you are (any number bigger than 0).

let age = 11;   // a box holding the number 11

Your task

Set age to your age (a number bigger than 0). The function hands the box back for you.

⚑ 15 XP
solution.jsRuns in your browser
Loading editor…
Tests1 to pass
age is set to a number bigger than 0

Run your code to check these.