Tell us what’s happening:
I wrote as per the instructions, it still throws this error:
“You should use template literals to concatenate the string My name is with the botName variable followed by a period (.).”
My code:
console.log(“Hi there!”);
const botName = “teacherBot”;
let greeting;
greeting = My name is ${botName}.;
console.log(greeting);
Everything seems right, it even displays correctly in the console. I genuinely have no idea where it’s going wrong. Please help, I’ve been stuck at this for days now…
Your code so far
console.log("Hi there!");
const botName = "teacherBot";
// User Editable Region
let greeting;
greeting = `My name is ${botName}.`;
console.log(greeting);
// 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/150.0.0.0 Safari/537.36
Challenge Information:
Build a Teacher Chatbot - Step 3
