Build a Greeting Bot - Step 12

Tell us what’s happening:

Hey, could someone help me identify what I am doing wrong? I’m sure my console.log is fine, and my “” statement is copied and pasted from the original statement. So I’m unsure where I am going wrong. Thank you in advance.

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


// User Editable Region

bot = "aewsomeTeacherBot";
const newNicknameGreeting = "I love my nickname but I wish people would call me " + bot + ".";
console.log(newNicknameGreeting);

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

Challenge Information:

Build a Greeting Bot - Step 12

No worries. I spelt Awesome wrong :woman_facepalming:

1 Like

Hi there and welcome back to the forum!

This line should be outside the User editable region

Yeah, I believe so too. Idk if it was glitch or something, but every time I refreshed the page, it kept on showing up.

Well, did you manage to pass the task eventually?

1 Like

Yes, thank you! The issue was with the spelling of awesome, ironically.

1 Like

refreshing the page does not change the code, to restore the code to the start of the step use the reset button

When errors keep popping up like that, don’t refresh, hit the reset button for the lesson and you’ll restart fresh.