HomeTracks
Explorer···
THEEBUG
Completed0/6
Score0
JSXlesson2.jsx×
THEEBUGlesson2.jsx
1
function Welcome(______) {
2
return <p>Hello, {name}!</p>;
3
}
4
 
5
<Welcome name="Ada" />
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
{ name }
name
props
{ props }
Game Panel
0:000 pts
Level 2 of 6Props
0/1 slots correct
Objective
Destructure the name prop so the component greets whoever it's passed
Expected Output
Hello, Ada!
Debug says:
Props are how a parent passes data into a component — like an argument into a function. The component receives one props object; which block unpacks just the name property directly in the parameter list?
Debug the Worm