Build a Greeting Bot - Step 7

Tell us what’s happening:

i can’t do it
how can i do its very har d and am i beginner

Your code so far

console.log("Hi there!");
console.log("I am excited to talk to you.");
let bot;
bot = "teacherBot";


// User Editable Region


let botIntroduction=("My name is"+ bot + ".");
let bot="Hi";
bot = botIntroduction;
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/141.0.0.0 Safari/537.36

Challenge Information:

Build a Greeting Bot - Step 7

Welcome to the forum, @antakajunior1

In this step, you are asked to create a variable, botIntroduction, and log it to the console, which you did. But you were not asked to reassign the bot variable, so please remove that code. One more thing, please double-check the spacing in your string concatenation.

You can do this! Just keep trying. We were all new to coding once…it just takes practice…a lot of practice! :wink:

1 Like