Build a Greeting Bot - Step 10

Tell us what’s happening:

I did the Step 10 correctly, however i am unable to process to the next step while checking the code , the system tells me to be mindful of spaces and gives the same instructions. I am unable to find the problem and understand it.

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

const botIntroduction = "My name is " + bot + ".";
console.log(botIntroduction);

const botLocationSentence = "I live in " + botLocation + ".";
console.log(botLocationSentence);


// User Editable Region

bot = " professorBot";
let nicknameIntroduction = "My nickname is " + bot + ".";
console.log(nicknameIntroduction);

// 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/145.0.0.0 Safari/537.36

Challenge Information:

Build a Greeting Bot - Step 10

You added an unnecessary space in the bot variable

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.