Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Task 14 won’t complete. If I delete task 14, it also fails task 15?

Your code so far

console.log("Hello! I'm your coding fun fact guide!"); 
let botName = "Iko"; 
let botLocation = "Planet Earth";
let favoriteLanguage = "JavaScript"; 
console.log("My name is " + botName + " and I live on " + botLocation + "."); 
let codingFact = "My favorite programming language is " + favoriteLanguage + "."; 
console.log(codingFact); 
codingFact = "I like " + favoriteLanguage + "."; 
console.log(codingFact); 
codingFact = "I dream about " + favoriteLanguage + "."; 
console.log(codingFact); 
codingFact = "I think alot about " + 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/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

and no, its not the spelling of “alot” I recorrected.

Hi @MDG-user

Are you sure you?:

9. You should log to the console "My favorite programming language is (favoriteLanguage)." and add the variable to the string.

Happy coding

  1. Removed the extra " " between botName and "from" in the farewell message.
  2. Removed extra variable

make sure you log that string directly, it should not be a value for codingFact