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
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.
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.
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?
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.