Tell us what’s happening:
const botLocationSentence = "I am from " + botLocation + “.”;
console.log(botLocationSentence);
need help!!! it say to pass it i would need to use string concatenation with + operator to join the string "I live in " with botLocation variables followed by a period (.).
Your code so far
console.log("Hi there!");
console.log("I am excited to talk to you.");
let bot;
let botLocation;
bot = "teacherBot";
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 am from " + botLocation + ".";
console.log(botLocationSentence);
// 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/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Challenge Information:
Build a Greeting Bot - Step 8