Construye un Bot de Saludos - Paso 14

Cuéntanos qué está pasando:

que esta mal en este codigo 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(nicknameIntrodu

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


// User Editable Region

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

// User Editable Region

que esta mal 

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

Información del Desafío:

Construye un Bot de Saludos - Paso 14

You have added an extra space after the word “is”.

Going forward, it’s usually best to copy/paste requested text from the instructions.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.