HomeTracks
Explorer···
THEEBUG
Completed0/11
Score0
JSlesson10.js×
THEEBUGlesson10.js
1
const name = "Ada";
2
const age = 30;
3
const bio = `${name} is ______ years old`;
4
console.log(bio);
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
${age}
age
{age}
$age
Game Panel
0:000 pts
Level 10 of 11Template Literals
0/1 slots correct
Objective
Complete the template literal to interpolate the age variable
Expected Output
"Ada is 30 years old"
Debug says:
Template literals use ${} to embed a variable's value directly into a string. Which block correctly interpolates age?
Debug the Worm