Tell us what’s happening:
I have used template literals correctly to create the greeting using the botName variable. My output shows “My name is ChatBot.” exactly as expected. However, the test is still failing and showing an error that I did not use template literals properly. I have checked for extra spaces, correct variable name, and syntax, but the issue still persists. I need help identifying what I might be doing wrong.
Your code so far
// User Editable Region
console.log("Hi there!");
const botName = "ChatBot";
const 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/146.0.0.0 Safari/537.36
Challenge Information:
Build a Teacher Chatbot - Step 3