Build a Greeting Bot - Step 7

Tell us what’s happening:

it says test completed but apparently i’m doing something wrong?

Your code so far

console.log("Hi there!");
console.log("I am excited to talk to you.");

let botLocation = "the universe";

// User Editable Region
let botIntroduction = "bot";

console.log("Hello,my name is " + 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/150.0.0.0 Safari/537.36 Edg/150.0.0.0

Challenge Information:

Build a Greeting Bot - Step 7

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-greeting-bot/66ada3f46945763dd97f43f8.md at main · freeCodeCamp/freeCodeCamp · GitHub

It looks like you have deleted the bot variable

also make sure you are assigning the right value to botIntroduction:

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.

you may want to restart the step so to restore the missing bot variable. You can restart with the image button

Tell us what’s happening:

What am I doing wrong? Been stuck on this for two days now..

Your code so far

console.log("Hi there!");
console.log("I am excited to talk to you.");
let bot;
bot = "teacherBot";

let botLocation = "the universe";

console.log("Allow me to introduce myself.");

// User Editable Region
let botIntroduction = "bot";
console.log("Hello, my name is " + 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/150.0.0.0 Safari/537.36 Edg/150.0.0.0

Challenge Information:

Build a Greeting Bot - Step 7

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-greeting-bot/66ada3f46945763dd97f43f8.md at main · freeCodeCamp/freeCodeCamp · GitHub

please read carefully the section about the botIntroduction variable

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.