Construa um bot de saudação - Passo 7

Conte o que está acontecendo:

Crie uma variável chamada botIntroduction.

Em seguida, use a concatenação de strings com o operador +para juntar a string "My name is "seguida pela variável bote, em seguida, um ponto ( .).

A atribuição é de valor variável botIntroduction.

Então, registre uma variável botIntroductionno console.

Qual seria o erro ???

let botIntroduction = "My name is " + bot + “.”;
console.log(botIntroduction);

Seu código até agora

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.");
// User Editable Region


let botIntroduction = "My name is " + bot + ".";
console.log(botIntroduction);
// User Editable Region

Informações do seu navegador:

User Agent é: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36

Informações do desafio:

Construa um bot de saudação - Passo 7

Link do GitHub: i18n-curriculum/curriculum/challenges/portuguese/blocks/workshop-greeting-bot/66ada3f46945763dd97f43f8.md at main · freeCodeCamp/i18n-curriculum · GitHub

Welcome to the forum @kevyn,

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

Happy coding