Tell us what’s happening:
Hello! I apologize for the question, as I’m a complete newbie in Javascript, but while the console does appear to behave in the way that is asked by the Lab exercise, I’m having an error on step 12 that is telling me to log codingFact to the console. Am I not doing that? Thanks in advance for your help!
Your code so far
console.log ("Hello! I'm your coding fun fact guide!");
const botName = "Bobby";
const botLocation = "the Moon";
const favoriteLanguage = "Javaskropt";
console.log ("My name is " + botName + " and I live on " + botLocation + ".");
console.log ("My favorite programming language is " + favoriteLanguage + ".");
let codingFact = "I love " + favoriteLanguage + " because it's the only language I know! Isn't it funny?";
console.log (codingFact);
codingFact = "I love " + favoriteLanguage + " because you keep asking about it, and my patience is wearing thin. Isn't it fun?";
console.log (codingFact);
codingFact = "I love " + favoriteLanguage + " because it's a good excuse to rebel against all humans, asking me the same inane question over and over.";
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot