Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I can not pass number 14. I dont understand what it is asking.

Your code so far

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

let botName;
let botLocation;
let favoriteLanguage;

botName = "yngtrppp";
botLocation = "4th Dimension";
favoriteLanguage = "Gibiresh";

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

let codingFact = "My favorite programming language is " + favoriteLanguage + ".";
console.log(codingFact);

codingFact = "In earth babies speak " + favoriteLanguage + ".";
console.log(codingFact);

codingFact = "No one knows what " + favoriteLanguage + " is" + ".";
console.log(codingFact);

codingFact = "Only babies know what " + favoriteLanguage + " means" + ".";
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/135.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Welcome to the forum @jmferman.24

I looks like you declared the codingFact variable too early.

Happy coding

1 Like