Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Cannot pass with the 3rd codeFact it is saying i should assign a value

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
let botName = "Bota";
let botLocation = "Meta Planet";
let favoriteLanguage = "Syntax";
let codingFact = favoriteLanguage + " is how code must be written in a programming language";

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

console.log("My favorite programming language is " + favoriteLanguage + ".");
console.log("Here is a fun fact " + codingFact);

codingFact = favoriteLanguage + " is so that the computer can understand it.";
console.log(codingFact);

codingFact = favoriteLanguage + " is what programmers use to communicate with computers.";
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/137.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Welcome back to the forum @kcuddiie

  1. You should log codingFact to the console.

Double check you doing the above, and only that.

Happy coding

I passed that one, i didnt pass 14. You should assign a value to codingFact for the third time that also contains favoriteLanguage , and log it to the console.

Here, you were to log just codingFact, but you’ve added extra text.