Tell us what’s happening:
It showing error when reassigning value for codingFact for the third time
Your code so far
console.log("Hello! I'm your coding fun fact guide!")
let botName = "Hubo";
let botLocation = "adama";
let favoriteLanguage = "javascript";
console.log("My name is " + botName + " and I live on " + botLocation + ".")
console.log("My favorite programming language is " + favoriteLanguage + ".")
let codingFact = " " + favoriteLanguage + " is created by chance.";
console.log(codingFact);
codingFact = " " + favoriteLanguage + " is also my first programming language.";
console.log(codingFact);
codingFact = "this language " + favoriteLanguage + " is also my first programming language.";
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goodbye! - " + botName + " from " + botLocation + ".");
console.log(codingFact);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot