Tell us what’s happening:
please, help me to solve this.
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.
my answer:
let bot=“pamoda”;
let botIntroduction=“My name is “+bot+”.”;
console.log(botIntroduction);
Your code so far
// User Editable Region
let bot="pamoda";
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/143.0.0.0 Safari/537.36
Challenge Information:
Build a Greeting Bot - Step 7