i am struglling to build a teacherchatBot at step 5, how to Start by creating a variable called greeting.
how to use template literal syntax to assign a string that says 'My name is, followed by the ‘botName’ variable, and ending with a period (.). and to Finally, log the greeting variable to the console
Your code so far
console.log("Hi there!");
const botName = "teacherBot";
// User Editable Region
const greeting ='My name is, botNmae.'
// 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/136.0.0.0 Safari/537.36
[quote=“sinoyamuemli, post:1, topic:748518”]
i am struglling to build a teacherchatBot at step 5, how to Start by creating a variable called greeting.
how to use template literal syntax to assign a string that says 'My name is, followed by the ‘botName’ variable, and ending with a period (.). and to Finally, log the greeting variable to the console
help me check step 6,7 as well
Your code so far
console.log("Hi there!");
const botName = "teacherBot";
// User Editable Region
const greeting = 'My name is, botNmae.'
// 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/136.0.0.0 Safari/537.36