Tell us what’s happening:
I’m getting the correct display but I’m not passing the last 2 steps. I’ve tried re-writing the second-to-last sentence so that favoriteLangauge was not first in the console.log and I receive the errors. I also put the string literal in front of favoriteLanguage and the error remains. Either way the print out is correct/the same. How do I get it to pass the last 2 steps.
Your code so far
console.log("Hello! I'm your coding fun fact guide!");
let botName = "botboy";
let botLocation = "Transylvania";
let favoriteLanguage = "Javascript";
console.log("My name is " + botName + " and I live on " + botLocation + ".");
let codingFact
codingFact = "My favorite programming language is " + favoriteLanguage + ".";
console.log(codingFact);
codingFact = "I love " + favoriteLanguage + " because it is fun."
console.log(codingFact);
codingFact = "" + favoriteLanguage + " is fun because it has variables.";
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goodbye! - " + botName + " from " + botLocation + ".")
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot