Build a Greeting Bot - Step 7

Tell us what’s happening:

I’ve followed every step in the guide why won’t it work?

I’ve been staring at this for an 2 hours not knowing what to do and what’s the problem maybe it’s my newbie brain can someone enlighten me with how this is suppose to be written

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 = "Gian";
console.log("My name is " + botIntroduction + ".");
// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Mobile Safari/537.36

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

are you doing all these things?

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.

and then after, you are asked to

Then, log the botIntroduction variable to the console.

Yes

look at the code I’ve done what I think is exactly that

let botIntroduction = “Gian”;

console.log(" My name is " + botIntroduction + “.”);

No, it says that you need to assign this:

Then use string concatenation with the + operator to join the string "My name is " followed by the bot variable followed by a period (.).

you have only assigned one word to botIntroduction not the whole “My name is” part

So

let botIntroduction = “My name is Gian”;

Then console log and concatenate it?

Then use string concatenation with the + operator to join the string "My name is " followed by the bot variable followed by a period (.).

This instruction is asking you to use a bot variable, but I don’t see any variable.

Nvm my first reply I got it now, it was my newbie brain thinking I completely misunderstood the guide

Yes yes thank you, I just got it I misunderstood the guide​:sob:

No issues, its happens to the best. Take a break and come back later! Make sure you enjoy the process.