Construye un Bot de Saludos - Paso 10

Cuéntanos qué está pasando:

let nicknameIntroduction;
nicknameIntroduction = "Mi apodo es " + bot + “.”;
console.log(nicknameIntroduction);

me marca que debo declarar la variable nicknameIntroduction apesar de ya estar declarada

Tu código hasta el 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);

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

let bot = "professorBot";


// User Editable Region

let nicknameIntroduction;
nicknameIntroduction = "Mi apodo es " + bot + ".";
console.log(nicknameIntroduction);

// User Editable Region

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Información del Desafío:

Construye un Bot de Saludos - Paso 10

Cuéntanos qué está pasando:

cual es mi error?
no lo encuentro por mas que lo busque

Tu código hasta el 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);

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

bot = "professorBot";

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

bot = "awesomeTeacherBot";

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

const favoriteSubject = "Computer Science";

const favoriteSubjectSentence = "My favorite subject is " + favoriteSubject + ".";
console.log(favoriteSubjectSentence);


// User Editable Region

console.log("Well, it was nice talking to you. Have a nice day!");

// User Editable Region

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Información del Desafío:

Construye un Bot de Saludos - Paso 15

Bienvenido al foro @GreysSombra

Por favor, utilice el texto de la versión en inglés.

"Well, it was nice to talk to you. Have a nice day!"

¡Que disfrutes programando!

Combiné tus publicaciones. En el futuro, solo responde al hilo original para añadir más actualizaciones.

Gracias.