Crie um Bot de Saudações - Passo 8

Conte-nos o que está acontecendo:

What’s wrong in my code? i dont got see the problem

Seu código até o momento

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

// User Editable Region


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

// User Editable Region

Informações do seu navegador:

Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 OPR/127.0.0.0

Informações do desafio:

Crie um Bot de Saudações - Passo 8

Do you see this error in the console?

ReferenceError: botLocationsentece is not defined

Hi @Tablitum !

I spotted a few common problems in your code.

  1. On line 16 you added an extra space before “I live in”. You need to remove that extra space for the string to be correct.
  2. On line 17, where you print the message to the console, there are two typos in your variable name. You wrote botLocationsentece. Can you spot the typos?

I think that’s enough for you to complete the lesson. Hope that helps :grinning_face: