Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I am getting an error saying “You should log to the console …” using concatenation to add the values of the variables. Can’t seem to fix the problem.

Your code so far

console.log("Hello! I'm your coding fun fact guide!")

let botName = "Jeff";
let botLocation = "Mars";
let favoriteLanguage = "Java";

const botLocationOp = "My name is " + botName + " and I live on " + botLocation + ".";
console.log(botLocationOp)

const favoriteLanguageOp = "My favorite programming language is " + favoriteLanguage + ".";
console.log(favoriteLanguageOp)

let codingFact = favoriteLanguage + " was used to make Minecraft!";
console.log(codingFact)

codingFact = "Over 3 billion devices run on " + favoriteLanguage + "!";
console.log(codingFact)

codingFact = "The name for " + favoriteLanguage + " was inspired by coffee!";
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/134.0.0.0 Safari/537.36 Edg/134.0.0.0

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

look carefully at the text given in the hint, is your string missing something?

I missed a dot, frustrating mistake :roll_eyes: