Build a Teacher Chatbot - Step 5

Tell us what’s happening:

I need help here. There’s an error saying that I should use template syntax of which I have already used.

Your code so far

console.log("Hi there!");

const botName = "teacherBot";

const greeting = `My name is ${botName}.`;
console.log(greeting);

const subject = "JavaScript";
const topic = "strings";


// User Editable Region

const sentence = `Today you will learn about ${topic} in ${subject}.`;
console.log(sentence);

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build a Teacher Chatbot - Step 5

Never mind. I’ve solved it, I was missing a comma at the beginning of my sentence.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.