Build a Greeting Bot - Step 7

Tell us what’s happening:

yang salah sama kode saya apa ya, padahal kan ini soalnya ada lah buat variabel bernama botIntroduction yang mempunyai nilai string yaitu bot kemudiaan di console harus nya console.log(“My nam is” + botIntroduction + “.”); gini apa salah penulisannya

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;
botIntroduction = "bot";

console.log ("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/146.0.0.0 Safari/537.36

Challenge Information:

Build a Greeting Bot - Step 7

You are not asked to assign a string called “bot” to botIntroduction.

You are asked to assign the following to the botIntroduction variable:

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

You are also asked to log the botIntroduction variable to the console. You haven’t done this.