Build a Teacher Chatbot - Step 5

Tell us what’s happening:

It keeps saying: "sorry your code does not pass. you should have a sentence variable. But my code is that exactly–>const sentence = Today, you will learn about ${topic} in ${subject}.;

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";

const  = `Today, you will learn about ${topic} in ${subject} placeholders with the ${topic} and ${subject} variables and ${} syntax.`;

// 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0

Challenge Information:

Build a Teacher Chatbot - Step 5
https://www.freecodecamp.org/learn/full-stack-developer/workshop-teacher-chatbot/step-5

I dont know why the place holding sentence is still there it has been deleted. i will reset the lab and see if that works

this is a syntax error, you should see it in the console, and when there is a syntax error the tests don’t work