Tell us what’s happening:
Step 7
Earlier, you created the bot and botLocation variables. Now, you will use them to output new messages to the console.
In previous lessons, you learned how to work with string concatenation using the + operator to concatenate strings together like this:
Example Code
let firstName = “John”;
console.log("Hello, my name is " + firstName + “.”);
// result: “Hello, my name is John.”
Remember that you need to be mindful
Your code so far
// User Editable Region
let botIntroduction = "Paul";
console.log("My name is " + botIntroduction + ".")
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Challenge Information:
Build a Greeting Bot - Step 7