Build a Greeting Bot - Step 12

Tell us what’s happening:

bot = “awesomeTeacherBot”

hello i need some advice,this is my code from step 12 build a greeting bot,why this code is not worked? am i doing something wrong from this code?

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);
bot = "professorBot";
const nicknameIntroduction = "My nickname is " + bot + ".";
console.log(nicknameIntroduction);
bot = "awesomeTeacherBot";
let newNicknameGreeting = "I love my nickname but i wish people would call me " + bot + ".";
console.log(newNicknameGreeting);

// User Editable Region



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

Challenge Information:

Build a Greeting Bot - Step 12

  • “i” needs to be in capital letter

adjust that and try again, happy coding :slight_smile:

1 Like

Thank u brother………..

no worries, we’re here to help each other out, happy coding :slight_smile: