Tell us what’s happening:
So my code is not passing this test. Can someone please help me as to why i can’t pass this? It keeps on asking me to assign a new value to codingFact that also contains favoriteLanguage.
Your code so far
let botName = "Chitti";
let botLocation = "America";
let favoriteLanguage = "Javascript";
let codingFact = "My favorite language is " + favoriteLanguage + ".";
codingFact = "I'm currently learning " + favoriteLanguage + ".";
codingFact = "One cool fact about " + favoriteLanguage + " is that it is not easy to learn.";
console.log("Hello! I'm your coding fun fact guide!");
console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
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/139.0.0.0 Safari/537.36
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot
https://www.freecodecamp.org/learn/full-stack-developer/lab-javascript-trivia-bot/lab-javascript-trivia-bot