Tell us what’s happening:
Remember that you need to be mindful of spaces when concatenating strings with variables.
Create a variable called botIntroduction.
Then use string concatenation with the + operator to join the string "My name is " followed by the bot variable followed by a period (.).
Assign this value to the botIntroduction variable.
Then, log the botIntroduction variable to the console.
Your code so far
// User Editable Region
let bot='Ali'
let botIntroduction = "My name is " + bot + ".";
console.log(botIntroduction);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Challenge Information:
Build a Greeting Bot - Step 7
ILM
November 27, 2025, 9:04am
2
Please Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
you will need to reset the step, there is lots of code deleted
i cant figure this out, please help me !
ILM
November 27, 2025, 9:27am
4
first reset the code to recover all the code you have removed, then create botIntroduction as asked, remember you already have bot
1 Like
Hey! It looks like part of the starter code was removed, so the challenge can’t run correctly.
Try clicking “Reset all code” at the top — it will restore everything you need.
After that, just create the botIntroduction variable like this:
let bot = “Ali”;
let botIntroduction = "My name is " + bot + “.”;
console.log(botIntroduction);
It should pass the step. Let us know if you still get stuck — happy to help!
1 Like