Tell us what’s happening:
I am sure that I am typing the right code but often I get a “Reference Error” in return even though the code is correct.
This is not the first time that I am experiencing this type of issue please inform me the right step by step methods for this problem.
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 sentence = `Today, you will learn about ${topic} in ${subject}.`;
console.log(sentence);
const strlengthIntro = `Here is an example of using the length property on the word ${subject}.`;
console.log(strLengthIntro);
/*
Hello there fam!
Hope you're all having a great day...., if not, I wish y'all one!
Please feel free to correct me, if my coding is wrong or if there's something wrong with the website itself.
I'm very new to coding in general, so all the honest feedback is appreciated.
*/
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0
Challenge Information:
Build a Teacher Chatbot - Step 6