Build a Greeting Bot - Step 7

Tell us what’s happening:

I have attempted to complete the task in two lines and think that I have the spacing correct. The message says that I should have a fourth console.log() statement but I don’t know why.

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";


// User Editable Region

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

Reset the step. It had another line which you’ve accidentally deleted

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.");
1 Like