Build a Teacher Chatbot - Step 5

Tell us what’s happening:

Sorry I don’t understand what is wrong here? What am I missing?

Your code so far

console.log("Hi there!");

const botName = "teacherBot";

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

const subject = "JavaScript";

// User Editable Region

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

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0

Challenge Information:

Build a Teacher Chatbot - Step 5

there is a small difference between your sentence variable, and the requested one, can you find it?

Sorry I don’t see the difference and i’ve been staring at it for ages! I don’t get what is different or that i’ve missed.

check this part specifically then

I’m so sorry but i’m still not understanding. It says to replace the placeholders with topic and subject variable using the ${} syntax? I thought that is what i’ve done? I used exactly like this in the previous task and it worked. Do I need to write out the placeholders in it too? I’ve tried everything possible I can think of but it’s not working. I am obviously missing something but i’m just not seeing what that is.

the requested sentence does not use and, please check again

OMG thank you! I’m dyslexic and even though I was checking I must have replaced it in my brain from the instructions that do say and and the actual text that doesn’t! I hope i’m able to finish this course as I really struggle with that! Thank you so much.

use copy and paste more, that helps to avoid these kind of mistakes

How do I do that? I’ve tried and can copy but when I try to put it in the box there is no paste option available.

you don’t get this menu when right clicking in the editor?

in that case paste with Ctrl + V

It’s the same just minus the paste option! It only seems to do that in this program. I thought it was deliberately to stop you from copy and pasting! Not sure if it’s something on my computer stopping it?

I have no idea what it could be, you can try turning off browser extensions if there are any

does Ctrl + V not work?

Yes it does! Thank you, I forgot that existed! I am understanding what to do with the code but keep missing either spaces or like before the wrong word so if I can copy and paste the instructions this will help lots. Thank you so much for taking the time to help.