Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I don’t understand what am i doing wrong. Tasks 9,11,12,13. Please help)

Your code so far

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

let botName = "Egor";
let botLocation = "London";
let favoriteLanguage = "pascal";

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

let codingFact = "I don't know nothing about " + favoriteLanguage + ".";
console.log(codingFact);

favoriteLanguage = "Python";
codingFact = favoriteLanguage + " I don't know nothing about it .";
console.log(codingFact);
favoriteLanguage = "JS";
codingFact = favoriteLanguage + " I don't know nothing about it .";
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/146.0.0.0 YaBrowser/26.4.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-javascript-trivia-bot/66ed41f912d0bb1dc62da5dd.md at main · freeCodeCamp/freeCodeCamp · GitHub

I see your code, and the problem is that you’re reassigning favoriteLanguage , but you should only reassign the codingFact variable. Also, check the characters and spaces in each codingFact variable. I hope it helps.

Thank you for your help. It worked.