Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

“14. You should assign a value to codingFact for the third time that also contains favoriteLanguage, and log it to the console.”

I did that and the value is not starting with the favoriteLanguage variable (suggested in a closed topic because of a bug) but I can’t pass the test nevertheless. This is the only error. Console shows all 3 codingFacts correctly.

Your code so far

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

let botName = "Flux";
let botLocation = "Mars";
let favoriteLanguage = "JS";

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

let codingFact = "Did you know? " +favoriteLanguage + " makes websites interactive.";
console.log(codingFact);

codingFact = "For frontend development we use: HTML, CSS and " + favoriteLanguage;
console.log(codingFact);

codingFact = "Hey, " + favoriteLanguage + " is easy to learn.";
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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

try removing extra spaces

Thank you, that was it!