Tell us what’s happening:
Please help. I don’t know why my code is not passing as it is outputting correctly. I keep getting the same error message :
15. You should log to the console “It was fun sharing these facts with you. Goodbye! - (botName) from (botLocation).” using concatenation to add the values of the variables.
At first I was using the favoriteLocation first and changed to have the string first, but still just getting the same result.
Your code so far
console.log("Hello! I'm your coding fun fact guide!");
let botName = 'Pica';
let botLocation = 'Chin Island';
let favoriteLanguage = 'Java';
console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
codingFact = 'A coding fact about ' + favoriteLanguage;
console.log(codingFact);
codingFact = 'My favorite language is ' + favoriteLanguage;
console.log(codingFact);
codingFact = 'Im having difficutly with '
+ favoriteLanguage;
console.log(codingFact);
console.log("It was fun sharing sharing these facts with you. Goodbye! - " + botName + " from " + botLocation + ".");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot
