Tell us what’s happening:
Hello, I’m stuck on the Build a JavaScript Trivia Bot lab: tests 10 and 11 keep failing even though codingFact is declared with let and includes favoriteLanguage.
I have tried the recommended syntax and restarted the code, but the same two tests still fail.
Could someone please explain what the checker is expecting or help identify why it is not detecting my codingFact declaration?
Your code so far
console.log("Hello! I'm your coding fun fact guide!");
let botName = "Trivia";
let botLocation = "Newyork";
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 + " was created by Brendan Eich in just 10 days.";
console.log(codingFact);
codingFact = favoriteLanguage + " is used by millions of developers around the world.";
console.log(codingFact);
codingFact = favoriteLanguage + " can be used to create interactive web pages.";
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/154.0.0.0 Safari/537.36
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot