Build a Teacher Chatbot - Step 4

Tell us what’s happening:

I’m not sure what I’m missing here.
I’ve tried const, let and var for my variable and it still hasn’t passed me through.

Your code so far

console.log("Hi there!");

const botName = "teacherBot";

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


// User Editable Region

const subject = "Javascript";
const topic = "strings";

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Build a Teacher Chatbot - Step 4

coding is case sensitive, if you write the right letter but with wrong case (uppercase instead of lowercase, or lowercase instead of uppercase) it’s not seen as the right letter

Yes I agree, but in Step 4 it says to assign the string “Javascript” to the subject variable and not “javascript”.
I skipped ahead to Step 5 and in the preloaded code above, it shows the same code as I put which means there must be a bug somewhere I think.

It doesn’t say either of those, it says “JavaScript”, the case of the first letter is not the issue

1 Like

Wow, my mind was playing tricks on me. Such a small error. Thank you for your patience.