Tell us what’s happening:
I justcompleted the JavaScript Step 10 and it keeps saying it’s incorretct…
Here’s are the code lines ;
const nickNameIntroduction = "My nickname is " + bot + “.”;
console.log(nickNameIntroduction);
Should I be doing something different
Your code so far
console.log("Hi there!");
console.log("I am excited to talk to you.");
let bot;
let botLocation;
bot = "teacherBot";
botLocation = "the universe";
console.log("Allow me to introduce myself.");
const botIntroduction = "My name is " + bot + ".";
console.log(botIntroduction);
const botLocationSentence = "I live in " + botLocation + ".";
console.log(botLocationSentence);
bot = "professorBot";
// User Editable Region
const nickNameIntroduction = "My nickname is " + bot + ".";
console.log(nickNameIntroduction);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1
Challenge Information:
Build a Greeting Bot - Step 10